• Resolved David 279

    (@david-279)


    Hi Patrick

    Sorry for starting a new thread but we moved a bit off topic in the previous one

    I’m still getting a grey screen at maximum zoom (19) but now I also get one at 18 as well, this occurs on all of the map types even the new servers, are all the servers linked or is it something in the plugin that’s causing this ?

    David

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

Viewing 15 replies - 1 through 15 (of 31 total)
  • Thread Starter David 279

    (@david-279)

    P.S. This is with the latest version of your excellent plugin, like the ability to change the icon colour (and even map type) by location but would be even better if we could choose the icon colour by hex code

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    I looked into markers by color code, but those were very ugly and unclear.
    The current markers are the defaults for Leaflet and are separate .png files. See the images folder in the plugin.

    I tried to replicate the gray maps om my own live site, but I do not get it. Mine show map tiles. So the only thing I can think of, is either you re zooming too fast and their server can’t keep up, or their servers are too busy.

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    EDIT: Sorry, I missed the link in the OP.

    Thread Starter David 279

    (@david-279)

    I had a quick look and get the same on my site, 18 & 19 are grey, not a great problem for me as I’m happy with the old default of 17 as maximum.

    Just a thought, when watching the network tab at zoom lvl 18 & 19 I don’t see any requests going to the server for the tiles, could be unrelated.

    • This reply was modified 5 years, 2 months ago by iamthewebb.
    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    What map tiles are you using? Again. on my live and local sites zooming works to 19.

    Thread Starter David 279

    (@david-279)

    I just looked in the events lister once I worked out what I was looking for and the plugin is not even trying to load the map tiles, as soon as I zoom out to 17 or lower I see the tiles loading in

    Thread Starter David 279

    (@david-279)

    Doesn’t matter which map type I select though I have ArcGIS Topomap selected

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    @david-279, I noticed that the map is wrapped in a div “elementor-shortcode”. How are you displaying the page? I suddenly realized we talked about that two weeks ago.

    I gave you a shortcode for a shortcode in another topic. That could be the cause. Please test it by letting EM render the page alone. Just to make sure.

    Thread Starter David 279

    (@david-279)

    Pretty certain thats not the issue but I’ve just disabled it you can reload and see

    Thread Starter David 279

    (@david-279)

    As you will note as soon as you zoom out to mag lvl 17 the maps start to load

    Thread Starter David 279

    (@david-279)

    I have no idea if this is the problem but I saw somewhere (and can’t find it now) that maxNativeZoom: might be important, apparently it won’t display higher than whatever you have that set to

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    There is no settings maxNativeZoom. Just minZoom, maxZoom and zoomLevel.

    What if we bypass EM completely?

    function elementor_single_map() {
      global $post;
      $location_id = get_post_meta( $post->ID, '_location_id', true );
    
      $OSM_Map = isset($location_id) && !empty($location_id) ? Stonehenge_EM_OSM_Maps::single_map( $location_id ) : __('No Location Found', 'events-manager');
      return $OSM_Map;
    }
    add_shortcode('elementor_single_map', 'elementor_single_map');
    
    Thread Starter David 279

    (@david-279)

    Err that gives me a big blank section – I assume I was meant to copy and paste the above as is into my functions.php and then just insert the shortcode [elementor_single_map]

    Thread Starter David 279

    (@david-279)

    By the way I should mention that the high magnification maps don’t appear in the backend either, sorry that’s probably important, in the previous release they went up to 18x but went grey at 19x is there something you altered in this version that might have an effect there ?

Viewing 15 replies - 1 through 15 (of 31 total)
  • The topic ‘Zoomed in still gives grey screen’ is closed to new replies.