[mapguide-users] Kaliopa Mobile Viewer / Geolocation

Srecko Lipovsek srecko.lipovsek at kaliopa.si
Wed Jul 15 13:42:45 PDT 2015


Hi,
If you neeed Zoom to object then you should do the folowing:
1. get selection XML of object
2. call SetSelectionXML(xmlSet)
3. call ZoomSelection()

If you have coordinates then there is classic OpenLayers call needed:
map.setCenter(...)

Look at default.debug.js ... and you will see how it is done ...



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Kaliopa-Mobile-Viewer-Geolocation-tp5215515p5215792.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list