Skip to content

DynamicMapLayer does not repeat across the antimeridian (international date line) #1409

@gavinr-maps

Description

@gavinr-maps

Describe the bug

L.esri.dynamicMapLayer does not repeat across the antimeridian:

https://jsbin.com/zolomuf/edit?html,output

Image

Note that the ArcGIS Maps SDK for JavaScript does extend the layer as expected:
https://www.arcgis.com/apps/mapviewer/index.html?url=https://sampleserver6.arcgisonline.com/arcgis/rest/services/SampleWorldCities/MapServer

Image

Reproduction

  1. Open https://jsbin.com/zolomuf/edit?html,output
  2. Pan to the west
  3. Expected: Layer continues into asia
    • Actual: layer stops at the antimeridian

System Info

leaflet@1.9.4
esri-leaflet@3.0.16

Additional Information

Note that this same issue was mentioned in #1127. It seems like the solution at the time was to use the esri-leaflet-dynamic-advanced plugin. But now 8 years later, that plugin does not seem to be maintained and maybe it makes sense to actually build this functionality into Esri Leaflet now? I'd like to hear from the Esri Leaflet community to see if others have run into this same issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions