• Resolved stephanmoenninghoff

    (@stephanmoenninghoff)


    Hi Patrick,
    thanks for this great plugin. I am creating a new website for a small club with maps for event locations. In the events overview page, only the first event in the list shows the OpenStreetMap. The following events have empty divs with no map being generated.
    Use “Micerule” to get into the page if you are prompted for a password.
    Thanks for your help!
    –Stephan

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    Hi Stephan,

    That is correct. If you look at your error console, you will see that the variables have already been defined. They cannot be defined multiple times. I have not been able to change this.

    So, unless someone can help me out (long live open source software) with that, you are able to only show one map per page.

    Thread Starter stephanmoenninghoff

    (@stephanmoenninghoff)

    You rock! Thanks for the speedy reply. Do you know if this is the same for Google maps? I would not like to go back to Google, though. I guess I could use a static map image though and have it link to the main event page…

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    To be honest… I never tried to use multiple maps with Google Maps, so I cannot really answer that.
    I will do some testing with OSM, but it might need iframes and I’m not really a fan of that ??

    Thread Starter stephanmoenninghoff

    (@stephanmoenninghoff)

    Ok, I’ve just switched to Google Maps and it renders them all. Bummer. Will you let us know if you get this to work with OSM?
    Keep up the great work!

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    I looked at the tutorial/example page of the Leaflet (which is the core of this OSM plugin). They do show multiple map.
    https://leafletjs.com/examples/quick-start/

    If you look at that source code, they are indeed using an iframe for each map.

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    Working on it… It will be updated in the next release ??

    Thread Starter stephanmoenninghoff

    (@stephanmoenninghoff)

    That’s good news. I feel I should pay for this. What’s the best way and how much?

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    Ahhhh, that would be very nice! There is a donation link on the main page, but here you go: https://useplink.com/payment/VRR7Ty32FJ5mSJe8nFSx

    Any amount is HIGHLY appreciated! ??

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    Please upgrade to version 1.8.6.0 to use multiple maps on one page. ??

    Thread Starter stephanmoenninghoff

    (@stephanmoenninghoff)

    Just paid you €100. Can you confirm it got through? Payment was slightly odd. I landed at your web-page but without confirmation or anything.
    Going to update my plugin now :-). Thanks, Patrick!

    Thread Starter stephanmoenninghoff

    (@stephanmoenninghoff)

    I Love it! You can even target each element in the OSM by class. That’s WAY better than the Google system. That’s how it should be.

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    Yes, I received it. Thank you VERY much!!!

    Thread Starter stephanmoenninghoff

    (@stephanmoenninghoff)

    Thanks for the work you put in! BTW if you have time, can you have another look? Some events still have no map. Excuse the mess but you should be able to see what I mean. Thanks!

    Thread Starter stephanmoenninghoff

    (@stephanmoenninghoff)

    I know what it is, hopefully it can be fixed. I am showing the same map several times because the event is recurring.

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    I reverted back to the “one map per page” version (1.8.5.2) There are some kinks and bugs that need to be fixed first. So (for now) multiple maps per page is not available.

    I am working on it, though. Also, good catch about the recurring events. I’ll tak that in my tests as well.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Only one map is shown in events lis’ is closed to new replies.