Skip to content Skip to sidebar Skip to footer

Google Maps Webservice Api - Show Directions Result On Map

EDIT: How is it possible to get a DirectionsResult json object from Google maps Web Service APIv3 without breaking the 'laws' of xss? if so, how is it possible to parse that

Solution 1:

Sounds like you don't actually want to execute Javascript, you just want to parse JSON. There are many libraries available to do this.

Solution 2:

I recommend you to use Javascript OpenLayers Library displaying map data including Google Maps in most modern web browsers, with no server-side dependencies and Vaadin's OpenLayers Wrapper which contains server side wrapper component for OpenLayers Maps.

Check out some of the applications that were built using these tools:

http://trac.osgeo.org/openlayers/wiki/Gallery

Post a Comment for "Google Maps Webservice Api - Show Directions Result On Map"