Marker Icon API

The Marker Icon API is used to generate beautiful custom map marker icons for your project. The API returns a png-image as a result and can be used in HTML, CSS, or directly by a client-side library.

API URL

https://api.geoapify.com/v1/icon

Request parameters

Name Description
apiKey Geoapify API key
type Marker icon type. Possible values: material - based on the Material Design pin icon , awesome - based on the Font Awesome pin icon, circle.
size Marker size. Possible values: small, medium, large, x-large, xx-large. By default, is medium.
icon Inner icon name. Depending on iconType value can take a value of Material Design or Font Awesome icon names.
iconType Inner icon type. Possible values: material, awesome. Default value is material - for material and circle type, awesome - for awesome type.
iconSize Inner icon size. Possible values: small, medium, large. By default, is medium.
text Icon text. Note, the icon parameter is ignored when the text set.
textSize Text size. Possible values: small, medium, large. By default, is medium.
color Icon color. Use text, fex, rgb, or rgba values here. For example, red, %23667789 (instead of #667789) , rgb(233,44,34), rgba(35,245,22,0.7). Note, the parameter must be URL encoded, so # is represented as %23.
strokeColor Icon stroke color. The parameter requirements are the same as for the color parameter.
shadowColor Icon shadow color. The parameter requirements are the same as for the color parameter.
noWhiteCircle Add the parameter without value to remove the white circle.
noShadow Add the parameter without value to remove the icon shadow.