What I am trying to do is using Google map URL (https://maps.google.com/maps)
,I want to have markers for multiple location also I don't want to use Google Map API.
I am only able to get a marker for single location using
https://maps.google.com/maps?q=22.96783,88.74398
is there something like https://maps.google.com/maps?q=22.96783,88.74398&22.99783,88.78398
to get markers for multiple location (though it is not working in this format)
Any reference or help will be appreciated, Thanks
Heres what you want -- basically the url string can hold more than one marker / location details. I've used the static version before on a project but heres the functional map version example I'd start with:
url syntax:
http://maps.google.com/maps/api/staticmap?center=Brooklyn+Bridge,New+York,NY&zoom=14&size=512x512&maptype=roadmap&markers=color:blue|label:S|40.702147,-74.015794&markers=color:green|label:G|40.711614,-74.012318&markers=color:red|color:red|label:C|40.718217,-73.998284&sensor=false
example here
(note: if will have heavy use you should obtain a key and add this to the end of the URL:
&key=YOUR_MAPS_API_KEY
)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With