I want to generate a static maps image using google's static-maps API. My requirement is to display as many markers as many stops are there.
For example if my route has three stops First S1 than S2 and last S3; than three markers should be shown and path should be draw among them.
I am adding three markers as shown below :
&markers=icon:https://assets.com/img/markers/start.png%7C17.422024%2C78.338294
But I am getting markers at start position S1 and last position S3. Path is getting drawn correctly. Can anybody help why I am not getting the middle marker in static maps API?