Styled Google Map
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
Description
Create a styled Google map in as few steps possible. This module integrates as a geofield formatter, which means you can have all settings in one place. You have options that include setting a custom style, custom marker and custom marker icon.
Showcases
Do you have an awesome implementation? Please sent a message and we may add it here!
Multiple locations and clustering
Add multiple locations to the map by enabling the styled_google_views module (7.x-2.0, 8.x-2.0-alpha1). Simply create a view with the available Styled Google Map style plugin (see last screenshot).
What are the possibilities?
- Easily add custom styles on your map. See snazzy maps for some copy paste styles, also use this Github page to alter them to your liking!
- Add custom markers by using the Stream Wrapper module. An example image exists in the module.
- Add a simple popup, by just selecting the content field you want to use.
- Create a more advanced popup with a textfield and picture by selecting the teaser view mode (or any other view mode if you are using Display Suite). A field group as fields wrapper works.
- You can add or remove any control from the map.
- Google API Key usage under: admin/config/content/styled_google_map (7.x) OR admin/config/services/styled_google_map (8.x)
Dependencies
This module has a dependency on the the System Stream Wrapper module. With it you can easily define your marker image location ex. theme://mytheme/images/pin.png
You are missing something!
Oh really? Create an issue or post a patch and I will do my best to implement it!
Side note
This module is not duplicated work, other Google map modules have to be hacked/altered or require some javascript/programming to use 'advanced' features like a styled map or creating an info popup. There are existing issues requesting certain functionality, but are noted as 'out of the module scope'. See some research here if interested.
