pajics
pajics

Reputation: 3048

Google maps api restyle map feature popup

In google maps api is it possible to style popup of a map feature (i.e. park) http://screencast.com/t/aSMJBOgUXm

p.s. I'm aware it is possible to hide park icon: https://developers.google.com/maps/documentation/staticmaps/#StyledMapElements

Upvotes: 1

Views: 199

Answers (1)

MrUpsidown
MrUpsidown

Reputation: 22486

AFAIK there is no simple way for doing this.

You can use the places library, draw your own markers for the features you are interested in, and set the info window content (and style) accordingly.

Places Library: https://developers.google.com/maps/documentation/javascript/places

See the top rated answer to this question: Google Maps API v3 Point of Interest with Custom Icons

You could use the same idea to adapt the content of the info window.

Upvotes: 1

Related Questions