Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a map with around 317 markers and each marker is the center point of a polygon. The polygonal area varies throughout, so I want to represent the markers in such a way that the polygon with the least area has the lightest shade of the marker color and the marker representing the largest area has the strongest shade of the same marker color.

Can I dynamically produce such colored icons on google maps api??

share|improve this question
Do you have access/familiarity with GIS software such as ArcGIS, QGIS, Manifold, etc.? Also, what format are these markers and polygons in? – Baltok May 2 '12 at 16:14

It is not exactly Google Maps API that lets you do dynamic pinc coloring but the Google Image Charts API.|B89A00

Try the above link for example. That will give you a nice basic teardrop pin, having the color specified at the end of the URL. After you are done with this you can assign the generated URL to the marker of your choice out of your 317 distinct markers.

I hope this helped!


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.