Maps not loading after first map
-
so i have this facebook page https://www.facebook.com/ElPolloLocoMexico/app_449435941764268 . So the first map shows the markers but then when you click on a link to another map (Coahuila, Ciudad de México, Nuevo León, or Tamaulipas) the maps are empty and it seems as if google maps weren’t loading i tried using bing and it doesn’t work either. What could be the problem i’ve looked everywhere.
Thanks
-
Hi,
I havent used LMM on facebook pages like you do yet (I am not a big fan of fb 😉 have you tried those maps “outside the fb frame”? please also check the console log infos which indicate a problem that could be related to this issue
regards,
RobertPS: as I give support for free, I’d really appreciate a vote for my plugin on http://ww.wp.xz.cn/support/view/plugin-reviews/leaflet-maps-marker 😉
[blocked] The page at https://www.redso.mx/polloloco/wp4fb-iframe/mexico/ ran insecure content from http://dev.virtualearth.net/REST/v1/Imagery/Metadata/Aerial?include=ImageryProviders&jsonp=_bing_metadata_12&key=AutD5umybvucpMlkgwBwnKN-K4x53pKIZ1rccAEK7TRHijEWVAM8-sn4xA02NbMF. [blocked] The page at https://www.redso.mx/polloloco/wp4fb-iframe/mexico/ ran insecure content from http://dev.virtualearth.net/REST/v1/Imagery/Metadata/AerialWithLabels?include=ImageryProviders&jsonp=_bing_metadata_13&key=AutD5umybvucpMlkgwBwnKN-K4x53pKIZ1rccAEK7TRHijEWVAM8-sn4xA02NbMF. [blocked] The page at https://www.redso.mx/polloloco/wp4fb-iframe/mexico/ ran insecure content from http://dev.virtualearth.net/REST/v1/Imagery/Metadata/Road?include=ImageryProviders&jsonp=_bing_metadata_14&key=AutD5umybvucpMlkgwBwnKN-K4x53pKIZ1rccAEK7TRHijEWVAM8-sn4xA02NbMF. 35The page at https://www.facebook.com/ElPolloLocoMexico/app_449435941764268 displayed insecure content from http://www.redso.mx/polloloco/files/leaflet-maps-marker-icons/polloloco-marker.png.For facebook i need to run everything in https that isn’t i tried to fixed it using HTTPS plugin and rewrite http://dev.virtualearth.net to https://dev.virtualearth.net but no success there. Maybe it could be the problem i’m not sure but that’s what console log brings up.
Also why is that running (bing maps) if i use google maps
could be. have you tried using another basemap like OSM or mapquest?
i changed it to OSM and it now loads some content but still not everything and the map is not centered i also get bunch of errors
The page at https://www.facebook.com/ElPolloLocoMexico/app_449435941764268 displayed insecure content from http://c.tile.openstreetmap.org/6/15/26.png. The page at https://www.facebook.com/ElPolloLocoMexico/app_449435941764268 displayed insecure content from http://c.tile.openstreetmap.org/6/12/26.png. The page at https://www.facebook.com/ElPolloLocoMexico/app_449435941764268 displayed insecure content from http://b.tile.openstreetmap.org/6/15/28.png.more of those
using MapQuest also brings similar errors
The page at https://www.redso.mx/polloloco/wp4fb-iframe/ciudad-de-mexico/ ran insecure content from http://dev.virtualearth.net/REST/v1/Imagery/Metadata/Road?include=ImageryProviders&jsonp=_bing_metadata_14&key=AutD5umybvucpMlkgwBwnKN-K4x53pKIZ1rccAEK7TRHijEWVAM8-sn4xA02NbMF. The page at https://www.facebook.com/ElPolloLocoMexico/app_449435941764268 displayed insecure content from http://otile1.mqcdn.com/tiles/1.0.0/osm/10/229/455.png. 3The page at https://www.facebook.com/ElPolloLocoMexico/app_449435941764268 displayed insecure content from http://www.redso.mx/polloloco/files/leaflet-maps-marker-icons/polloloco-marker.png. The page at https://www.facebook.com/ElPolloLocoMexico/app_449435941764268 displayed insecure content from http://otile4.mqcdn.com/tiles/1.0.0/osm/10/228/455.png. The page at https://www.facebook.com/ElPolloLocoMexico/app_449435941764268 displayed insecure content from http://otile3.mqcdn.com/tiles/1.0.0/osm/10/228/454.png.will check LMM and https for v3.2 – hope to be able to help you. My first thought is that you need to configure a custom basemap with a tile layer provider that supports serving tiles via https. I just dont know if there is one – havent looked into this topic before…
to use mapquest as ssl just add https://otileN-s.mqcdn.com N is the number so you have to add the -s
Thanks 😀
So i fixed the issues with the maps using the secure otile2-s but i still haven’t been able to fix the custom markers url to https i see in the setting that the icon url can’t be changed (from there) which in this moment is http://www.redso.mx/polloloco/files/leaflet-maps-marker-icons
where can i change this to https ?the marker icon url is definied in leaflet-maps-marker.php, line 46-47. Due to the way the functions are called, I dont see a way how I could make this configurable via settings. Alternative would be to hard-code the URL needed on line 47 – please be aware, that this change would be overwritten on plugin updates.
The topic ‘Maps not loading after first map’ is closed to new replies.