Skip to content

High DPI custom layer #923

Description

@acnetj

Make $egMapsLeafletLayerDefinitions to support High DPI:

I use a custom layer that has a high dpi (retina) option to switch to separate tiles. That's what I put in the leaflet-providers.js, which is the method i used on older versions before version 12.1.3.

https://xxxxx' + (L.Browser.retina ? 'hidpi': '') + '/{z}/{x}/{y}.png'

How can this be placed in the localsettings.php with $egMapsLeafletLayerDefinitions ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions