Re: [mapguide-users] Google Geocode inside Mapguide

2017-09-20 Thread RenoSun
Hi Karuna,

I think it's doable. I don't know if you're using fusion or basic web
layouts.

If Google Direction Service can return the geometry of the route (line), and
route info in wkt, xml, geojson, and json etc.

You may draw the geometry on your MG maps, and display the route info with a
pop up windows or the task window. Then, zoom to the route. 

Or simply generate the Google Maps URL that will provide directional
information.

I will prefer the second one. Less codes to write :)

Directions examples using waypoints

  



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google Geocode inside Mapguide

2014-12-03 Thread Kajar
How to replace search button with  autocomplete option in this code.




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Google-Geocode-inside-Mapguide-tp5098605p5176212.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Google Geocode inside Mapguide

2014-01-18 Thread pcardinal
My code is in the file TaskPane.html which is in the directory C:\Program
Files\OSGeo\MapGuide\Web\www\fusion\widgets\TaskPane\. Also you will have
to download Proj4js 1.1.0 from http://trac.osgeo.org/proj4js/wiki/Download
and copy the content of the directory proj4js from the zip file in
C:\Program
Files\OSGeo\MapGuide\Web\www\fusion\widgets\TaskPane\proj4js-1.1.0.In the
TaskPane, input your address and click on the button Adresse Google



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Google-Geocode-inside-Mapguide-tp5098605p5098828.html
Sent from the MapGuide Users mailing list archive at Nabble.com.___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google Geocode inside Mapguide

2014-01-17 Thread pcardinal
yes it is possible. I did it in Javascript in an html page (not in a widget
which must be the best)

following is part of the code





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Google-Geocode-inside-Mapguide-tp5098605p5098615.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users