Map not showing in edit node

  • Posted on: 5 October 2015
  • By: Darko

I moved a whole Drupal site to https mode, and the Openlayers maps stopped working in node edit mode. There is a simple fix. Go to the configuration screen:

../ en/admin/structure/openlayers/layers/list/mapquest_osm/edit

and change

LAYER SPECIFIC OPTIONS FOR XYZ

Base URL (template)
enter different server, one that works with certificates, so for example
//otile1-s.mqcdn.com/tiles/1.0.0/map/${z}/${x}/${y}.png
//otile2-s.mqcdn.com/tiles/1.0.0/map/${z}/${x}/${y}.png
//otile3-s.mqcdn.com/tiles/1.0.0/map/${z}/${x}/${y}.png
//otile4-s.mqcdn.com/tiles/1.0.0/map/${z}/${x}/${y}.png