Interacting with the map from a diffrent window or tab

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Interacting with the map from a diffrent window or tab

kimel
Hi there, I am quite new to all of the misguide fusion world, and I am trying
to understand it right now.
I need to be able to make a layer visible on the map from another page.
I started by looking how I can make a selection from a different page, and I
could do It by firing the Ajax request to the server and then moving the
map. By moving the map it refreshed or reloaded the map and showed the
selection that I asked for. But I could not find what event is triggered
when moving the map. I know it is not the map.reloadMap() and its not the
LoadMap.php through Ajax. A second problem I have is that I didn't found any
PHP code that set a layer viable. My question is, 1. Is it even possible to
set a layer visible throw the server and by an Ajax call from a different
tab? 2. When moving the map, what event is triggered by the map? 3. I would
like to understand a bit more about the Fusion.Event because now I don't
understate how it works



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
_______________________________________________
mapguide-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapguide-users
Reply | Threaded
Open this post in threaded view
|

Re: Interacting with the map from a diffrent window or tab

GordonL
You can toggle it with PHP but the legend will not reflect the change.

For example if you want to turn on the the "Roads" layer:






--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
_______________________________________________
mapguide-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapguide-users