Some pins disappear on map scroll/drag

New home Forums Basic Version Troubleshooting Some pins disappear on map scroll/drag

Tagged: ,

  • This topic has 9 replies, 2 voices, and was last updated 10 months ago by Matthew.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #75360
    telleid
    Participant

    Hi all, I couldn’t find this particular problem in the documentation or forum search.

    I’m looking to create a map centered on the Pacific. It seems that multiple plugins, including WP Go Maps, have a problem with displaying Pacific locations on the same side of the globe right around the international dateline (the tendency is to split pins in this region in half, see attachment for example). In particular, Samoa (-13.83282,-171.760056) and Tonga (-21.13938, -175.2018) were the countries I wanted to display alongside more westerly islands. I ended up taking 360-abs(longitude) for those two pins and voila, they show up.

    Now the problem: if I scroll or drag the map to the right, all pins except Samoa and Tonga disappear. Scroll/drag back to the right and they reappear. Is there a way to keep all pins on the map? Could it be related to my workaround to get the eastern pins to show up & is there a better way to get around that?

    I’m afraid I can’t link to the map because it’s on a site that’s still locked to admins only for development, but might be able to work something out if necessary.

    Any help or guidance will be greatly appreciated!

    Attachments:
    You must be logged in to view attached files.
    #75376
    Matthew
    Moderator

    Hi there,

    Thank you for getting in touch with us, we do appreciate your time.

    Thank you for the explanation and screenshot that you have provided, as it gives me an idea of what you are experiencing.

    As your site is locked at the moment, please may I ask if you may provide me with an export your maps and marker data so that I may test the map and markers locally?

    To do this, please do the following:
    1. Navigate to Maps -> Tools -> Export.
    2. Select “JSON” as the export type as well as ensure all options are selected/enabled.
    3. Click the “Export” button.

    Once this has been done, please may you provide me with the exported JSON file so that I may test using your data?

    Note: you may mark your reply as private if preferred.

    I look forward to hearing back from you.

    Kindest Regards,
    Matthew

    #75392
    telleid
    Participant

    Hi Matthew,

    Thank you so much for your reply. I wish I could have included the video showing the problem too but file size was too big.

    Unfortunately it looks like I can’t export because I am on the Basic version without the Pro add-on. Do you know if there’s a free trial I could activate to allow the export? Or another workaround?

    Thank you for your time!

    #75395
    Matthew
    Moderator

    Hi there,

    Thank you for getting back to me and for your time on this, I really appreciate it!

    My apologies for that, you could possibly upload your video to your Google Drive and then share the link with me?

    Unfortunately we do not have a free trial for our add-ons, however, do not worry as we will get this issue sorted.

    I look forward to hearing back from you.

    Kindest Regards,
    Matthew

    #75397
    telleid
    Participant
    This reply has been marked as private.
    #75438
    Matthew
    Moderator

    Hi Dillaur,

    Thank you for your continued time and patience on this, I really appreciate it!

    Thank you for the video as it helps get a better idea as to what you are experiencing.

    This is unfortunately one of the limitations/down-sides to using the OpenLayers map engine whereby the markers are only displayed on one full view of the map, thus when you scroll into the next view of the repeated map, the previous markers on the previous view will be removed and moved over to the new view.

    Thus displaying the markers on all repeated views when moving to the next repeated view is currently not supported.

    I hope this answers your question?

    Kindest Regards,
    Matthew

    #75489
    telleid
    Participant

    Hi Matthew,

    Thank you for the explanation, that helps! A couple questions:

    Do you know whether the repeat of the view always split over the Pacific for the OpenLayers engine or can it be moved to split e.g. Europe in half? (I figure this is beyond WPG scope though!)

    And would the same problem apply if I were to use the Google Maps engine?

    Thanks for YOUR patience working through this with me!

    Best,
    Diliaur

    #75493
    Matthew
    Moderator

    Hi Dillaur,

    Thank you for your response and time on this, I really appreciate it!

    Unfortunately the repeat view split is something that is not movable, thus unfortunately this is out of scope.

    With regards to using the Google Maps engine, this map engine does not have the same issue as it will display all the markers correctly on the repeating view as your scroll onto the next ‘repeat’ viewport.

    Please do let me know if this helps?

    Kindest Regards,
    Matthew

    #75499
    telleid
    Participant

    Hi Matthew,

    Understood, and yes, this helps a lot! Thanks for all the info you provided, I really appreciate it 🙂

    Best,
    Diliaur

    #75508
    Matthew
    Moderator

    Hi Diliaur,

    Thank you for getting back to me and most valued time, I tremendously appreciate it!

    I am most happy to hear that, and it was my great pleasure assisting you with this.

    Please may you kindly consider reviewing our plugin at https://wordpress.org/support/plugin/wp-google-maps/reviews/#new-post?

    It would really mean the world to me! And if possible, please could I kindly ask you to mention both your name and mine in the review for administrative purposes as this would be a tremendous help?

    Should you ever require any further assistance, I am more than happy to help.

    Have a fantastic day further!

    Kindest Regards,
    Matthew

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.