'How to set a default marker to the location based lat and long in google map received by Google Static API?
Solution 1:[1]
You can set the color of the marker to red, plus add the marker location at the end. Here’s a Static Map API web request for reference:
https://maps.googleapis.com/maps/api/staticmap?center=28.6086154,77.3566754&zoom=14&size=500x250&maptype=roadmap&markers=color:red%7C28.6086154,77.3566754&key=YOUR_API_KEY
More info can be found here:
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Beth |


