[mapguide-users] How to get selected feature information in popup window
Jamo
adam.jamison at portbris.com.au
Mon Sep 3 15:18:58 PDT 2012
Sounds like you want to create a styled div at runtime over the top of the
map at a designated screen position.
I've got no code samples for you just a thought process.
I can think of two ways to accomplish this.
Server Side:
actually create some kind of popup Mapguide Layer at runtime and upon
selecting a feature populate this with the geometry say a balloon with some
text pointing to where you've clicked.
Client Side:
1. Tooltips (they display whilst hovering over features and can show any
properties assigned)
2. Produce a html div at runtime position it at mouse cursor and style it.
- If map view changes you would need to move the div accordingly or
perhaps even just destroy it.
If someone can explain how to prepare openlayers elements using fusion that
might work as well...
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-get-selected-feature-information-in-popup-window-tp4999139p4999547.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list