A
A
Alexey2021-03-11 14:53:17
Google Maps
Alexey, 2021-03-11 14:53:17

How to get around 5 unique icons limit on google static maps?

Hello! When generating a static map, there is a limit of 5 unique markers per request

markers=anchor:bottomright|icon:URLofIcon|markerLocation1|markerLocation2

You can use up to five unique custom icons per request. This limitation does not mean that you are limited to only 5 marked locations on your map. Each unique icon can be used with more than one location markers on your map.


But the task is to draw 7 types of markers. Tell me who can come across. How to get around this limitation? I have thoughts up to the generation of several images, followed by overlaying each other through the alpha channel. There must be other ways, simpler?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2021-03-11
@freeExec

This is you from the category, to guess the PIN I have 3 attempts to get around this limitation.
Render the map without icons, and overlay the icons on your server. But I think even this will be considered by Google as a violation of the use of its service.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question