[mapguide-users] Setting Initial Map Selected object
Zac Spitzer
zac.spitzer at gmail.com
Mon May 24 08:52:26 EDT 2010
That would be a great new core feature for fusion
process is very roughly
1. you need to access the layer definition,
2. get the fdo class (maybe whilst also using the layer def filter)
3. extract the co-ords (point v poly etc)
4. pick an appropriate zoom level / or scale ( or pass one in )
5. create a MgSelection
7. refresh the map display
I have cc'ed this to fusion-users
z
On 24 May 2010 22:37, Jose Cerrejon <gis at mapas-sll.com> wrote:
>
> I want to start a Map with Fusion with a selected object.
>
> I want to use an url with parameters like:
> index.php?layer=mylayer&objectID=1234
>
> So if you have these parameters, the map is loaded, and then show the
> selected object.
>
> Anybody know what's the process or the files I need to modify?
>
> Thks. I'll post my code here.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Setting-Initial-Map-Selected-object-tp5093643p5093643.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
--
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168
More information about the mapguide-users
mailing list