3 maps on one page, issues with route finding

More
10 years 4 months ago #3916 by BTD
Hi

I have 3 maps embedded into 1 page, route finding is turned on for all 3, which works.

BUT

for map id 1, I get one copy of map route directions
for map ID 2, I get 2 copies of the same map route directions
for map ID 3, I get 3 copies of the same map route directions.

Not sure if I have missed something to stop that?

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #3917 by Dima
Hi.

I tested now, and have only one route description for each map.

Can you provide me link to your page with maps

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #3920 by BTD
Hi Dima

Thanks, here is the link, it may just be some config issue, not sure...

It is an empty site with a random template just to test the 3 maps side by side and see how they reacted in a responsive template etc....

174.122.148.154/~drdimasc/index.php/dr-d...-room-locations.html

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #3924 by Dima
As I understand right - you use Modules

BUT

As you can see in my docs - only one module can be on page.

If you want more than one - you'll get an incorrect work.

In your case - create 3 custom HTML modules, and call my map plugin there

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #3925 by BTD
Hi

OK, I had used custom HTML, but used three module positions so it worked easily in a responsive template. I changed it over to a single module and that fixed the issue, at some point I'll need to move away from the table I used to divs for the responsive etc

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #3926 by BTD
Also, just to clarify, I was not using ZHmodule, I was using the plugin, inside 3 modules in 3 different positions as custom HTML modules etc.

Please Log in or Create an account to join the conversation.

Time to create page: 0.092 seconds

Donate


Go to top