[mapguide-users] Kaliopa mobile viewer with google maps as base layer

Srecko Lipovsek srecko.lipovsek at kaliopa.si
Fri Jun 26 12:00:50 PDT 2015


Hi Rodolfo,

First you need set right coordinate system in your MapDefinition. Coordinate
system should be the same as in Google Maps - pseudo mercator EPSG:3857 ...

Then you should create custom OpenLayers build where classes for Google Maps
Layer from OpenLayers are included. In Kaliopa Mobile Viewer Gogle Maps is
not included by default. There you should also first take full Openlayers.js
file and later create lightweight Openlayers.js file where you chose what
you need - you get smaller file.

And in last step you need to add Google Maps Layer ... look into OpenLayers
Examples how to Add Google Maps Layer and put that javascript code into
default.js file.

Then run minify.bat ...

I think that Reno Sun has created this. Look at
http://maps.qualicumbeach.com and search for mobile Viewer.

If you need litle bit of help creating this let me know ... ;) 



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Kaliopa-mobile-viewer-with-google-maps-as-base-layer-tp5212543p5213179.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list