Does this module support multiple locations on one map? I need to set up a map where I'm putting in a list of all the places my company has been to, but I don't want to make a node for each location. I just want to make a list of coordinates. Will this module help me?

Comments

rdeboer’s picture

Assigned: Unassigned » rdeboer
Status: Active » Fixed

Hi Becky,
Thank you for you interest in Leaflet More Maps.

Leaflet More Maps does one thing and one thing only: it adds a number of optional map "canvases" to the single default map canvas (OpenStreetMap Mapnik) available through the Leaflet module.

Leaflet More Maps does not itself add location markers. Leaflet or modules working with Leaflet do that -- for obvious reasons my personal favorite is IP Geolocation Views and Maps, used in combination with Leaflet and Leaflet More Maps. Here's a great example of that combo in action: http://stallspot.co.nz/discover

With any Drupal mapping solution you would normally require a View of nodes each representing one location or alternatively no View but a single node with a list of locations (coordinates). The node (company) could support multiple geo-locations via a multi-value field, e.g. Geofield. I'm not sure if Leaflet supports the formatting/viewing of a node with multiple locations. It may show one map for each location or it may only show a single map with only the first of the locations. You may have to resort to a View, i.e. one map with multiple markers shown, whether they're from a single node or multiple nodes.

Geofield by itself requires you to enter the location as lat/long coordinates, but if you throw AddressField and Geocoder in the mix you may enter postal addresses and then these get seamlessly converted to Geofield lat/long without you even seeing them.

Best,
Rik

beckyjohnson’s picture

Thanks RdeBoer, I appreciate your feedback. Sometimes it's hard for me to see what the mapping modules do unless I install them and play around, but in this case, I thought it would be smarter to wait for feed back. Thank you so much, I'm going to try this combo out and see what happens. I don't mind using a view to get what I want done. Also I noticed that using the Gmaps and location module could be effective for not having to inter coordinates becuase they gave me a map I could click on, but it was on a per node basis or taxonomy term basis, which isn't quite what I wanted....

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.