Title: Maps not loading after first map
Last modified: August 20, 2016

---

# Maps not loading after first map

 *  Resolved [acrogenesis](https://wordpress.org/support/users/acrogenesis/)
 * (@acrogenesis)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/maps-not-loading-after-first-map/)
 * so i have this facebook page [https://www.facebook.com/ElPolloLocoMexico/app_449435941764268](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
 * [http://wordpress.org/extend/plugins/leaflet-maps-marker/](http://wordpress.org/extend/plugins/leaflet-maps-marker/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * (@harmr)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/maps-not-loading-after-first-map/#post-3243338)
 * 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, Robert
 * PS: as I give support for free, I’d really appreciate a vote for my plugin on
   [http://wordpress.org/support/view/plugin-reviews/leaflet-maps-marker](http://wordpress.org/support/view/plugin-reviews/leaflet-maps-marker)
   😉
 *  Thread Starter [acrogenesis](https://wordpress.org/support/users/acrogenesis/)
 * (@acrogenesis)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/maps-not-loading-after-first-map/#post-3243339)
 *     ```
       [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](http://dev.virtualearth.net)
   to [https://dev.virtualearth.net](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
 *  Plugin Author [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * (@harmr)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/maps-not-loading-after-first-map/#post-3243340)
 * could be. have you tried using another basemap like OSM or mapquest?
 *  Thread Starter [acrogenesis](https://wordpress.org/support/users/acrogenesis/)
 * (@acrogenesis)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/maps-not-loading-after-first-map/#post-3243341)
 * 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
 *  Thread Starter [acrogenesis](https://wordpress.org/support/users/acrogenesis/)
 * (@acrogenesis)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/maps-not-loading-after-first-map/#post-3243342)
 * 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.
       ```
   
 *  Plugin Author [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * (@harmr)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/maps-not-loading-after-first-map/#post-3243343)
 * 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…
 *  Thread Starter [acrogenesis](https://wordpress.org/support/users/acrogenesis/)
 * (@acrogenesis)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/maps-not-loading-after-first-map/#post-3243344)
 * to use mapquest as ssl just add [https://otileN-s.mqcdn.com](https://otileN-s.mqcdn.com)
   N is the number so you have to add the -s
 * Thanks 😀
 *  Thread Starter [acrogenesis](https://wordpress.org/support/users/acrogenesis/)
 * (@acrogenesis)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/maps-not-loading-after-first-map/#post-3243347)
 * 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](http://www.redso.mx/polloloco/files/leaflet-maps-marker-icons)
   
   where can i change this to https ?
 *  Plugin Author [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * (@harmr)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/maps-not-loading-after-first-map/#post-3243354)
 * 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.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Maps not loading after first map’ is closed to new replies.

 * ![](https://ps.w.org/leaflet-maps-marker/assets/icon.svg?rev=970936)
 * [Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)](https://wordpress.org/plugins/leaflet-maps-marker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/leaflet-maps-marker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/leaflet-maps-marker/)
 * [Active Topics](https://wordpress.org/support/plugin/leaflet-maps-marker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leaflet-maps-marker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leaflet-maps-marker/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/maps-not-loading-after-first-map/#post-3243354)
 * Status: resolved