Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-32211

Opensteetmap loads map images over http protocol in backend

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • None
    • 2.5.15
    • None
    • None

    Description

      the leaflet irls have changed, so firefox and edge will load the openstreetmap images only over http protocol

       

      change

      L.tileLayer('https://{s}.tile.osm.org/{z}/{x}/{y}.png', {
      attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
      {color}}).addTo(map);

       

      to

      L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'
      , {
      attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
      {color}}).addTo(map);

       

      found in

      eZ/Bundle/EzPublishCoreBundle/Resources/views/content_fields.html.twig

      src/bundle/Resources/public/js/scripts/admin.location.load.map.js

       

      after this run yarn encore....

      Attachments

        Activity

          People

            Unassigned Unassigned
            d75588ee-5685-4117-be3b-e5746af05636@accounts.ibexa.co Björn Köster
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: