2

I'm using gmap field, it displays only 1 bubble at the same time. If I click on bubble it displays title.

enter image description here

How can I customize it? I need to style it and add more fields to it.

I know how to do it using view (than I can do template for it), however in this case I have only gmap field that display itself.

I want to get this result:

enter image description here

  • @Pierre.Vriens I used your solution and it worked, however due to current setup I went with solution where I used view (with context filter) + gmap format. There it is possible to set template for your bubble. – Dmytro Pastovenskyi Jun 16 '16 at 7:50
2

Quote from the Comparison of mapping modules:

GMap is considered a legacy module.

So maybe you want to have a look at the IP Geolocation Views & Maps module. Partial quote from its project page:

Despite what the name may suggest, IP Geolocation Views & Maps (IPGV&M) is first and foremost a mapping engine.

The module makes it very easy to create Views-based mapping solutions using the map renderer of your choice (Google, OpenLayers or Leaflet) with any location storage module of your choice, e.g.:

enter image description here

This allows you to bring together modules and feature sets that without IPGV&M you would not be able to combine.

Like beautiful animated marker clustering on Google or Bing or Mapbox ... any of various map providers.

But more importantly IPGV&M adds some features you won't find as conveniently packaged elsewhere.

These include marker differentiation based on field values or ranges (2nd screenshot) with or without font icons, various centering options, super-imposing the current visitor's location, allowing multiple content types to be displayed on the same map, full screen button and mini-map inset (bottom screenshot), polygon support (Geofield), marker tags and tool tips and cross-highlighting of associated content on the page when markers are hovered (and vice versa).

enter image description here

Head over to its (impressive) project page for even more information about it. That project page also includes various screenshots.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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