Java - Multiple Destinations on Google Maps through URL -
i writing program in java creates multiple destination points (latitude,longitude).
and wish add each destination marker on google maps. problem is, google maps doesn't allow more 25 markers @ time.
at moment use creating a url string represent map, example:
string url = "http://maps.google.com/maps?saddr=33.542550,-112.071399&daddr=33.538090,-112.047250+to:33.523892,-112.093669"; and call
java.awt.desktop.getdesktop().browse(java.net.uri.create(url)); to open google maps 3 markers present.
when string includes more 25 destination points, not work since google maps not allow it.
are there ways around this? , possible make 50 markers in 1 map?
create own map google maps javascript api supports many markers want. beware of url length limitations.
another option create kml file containing markers unique name , use display markers.
Comments
Post a Comment