Question

I have a situation where I need to display content with different terms on a Leaflet map. These terms also are associated with images. At this point, I would like to ask you whether the below can be done.

1) Multiple layers: To show different images, I might need to have multiple layers. Is this possible?

2) Dynamic icons: Is this possible, either with token or something else?

Regards, mto

Was it helpful?

Solution

As far as I know, multiple layers with Leaflet isn't possible at the moment.

However, if you're wanting to differentiate between items of the same type but with different taxonomy tags, the module "IP Geolocation Views and Maps" (https://www.drupal.org/project/ip_geoloc) will allow you to do this. They've got excellent instructions and I can vouch for it working.

It can get confused if an item is tagged with 2 of the things you're wanting to differentiate between...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top