I would like to have a second node location map with the same nodes as the first, but I also want to add another type of node in this map. I do not want this type of node on the first node map. I hope this makes sense.
I apologize if this is in another topic, but it is hard to word this specific thing on the search and come up with relevant results.
Thank you in advance. Any help would be greatly appreciated.

Comments

brownjeans’s picture

So, I was wanting to do the same thing and I realize your post is two years ago but no one responded and I searched and found your post when trying to do the same thing and wished that there was a response - so I'm making one for future people like me.

So, I found that the Location Map module was perfect for showing a single location on a map. But what if, like my client, you have multiple locations. What I needed was a node for each location and on that node I wanted to show information about each location and have a map of that location on that node. Location Map didn't work and I didn't want to flesh out an entire new multi-location module. So here's how I got what I wanted without a lot of programming.

I downloaded and copied the Location Map module. I renamed the files in Location Map like this > locationmap.info = locationmap[place].info (where [place] is the name of the first location I wanted to create a node for).
You have to rename every file that has locationmap in the name. Don't forget the file in the tests directory.

Next I opened the contents of each file and did a find and replace. I found every occurrence of locationmap and replaced it with locationmap[place] (again, where [place] is the name of the first location I wanted to create a node for). Save everything, load your new locationmap[place] module.

Repeat these steps for every location you want to have a node for. Just make sure that the value you have for [place] is unique for each location.

When you're done, activate all the location[place] modules and configure each module as needed for each location.

This worked for me.