Questions tagged [esri-leaflet]

esri-leaflet is an open source plugin for leafletjs, providing a lightweight set of tools for using ArcGIS services with leaflet

59 questions
1
vote
1 answer

Filtering GeoJSON by lat-long in Leaflet

I'm ingesting a large geoJSON file in leaflet with somewhere near 19,000 features (points). This results in a massive amount of clutter on the map and is unmanageable. The goal is to use geolocation to mark my location, draw a 5nm circle around it,…
blintster
  • 133
  • 1
  • 7
1
vote
1 answer

ESRI TileLayer with non-standard 0 zoom does not load in Leaflet

appreciate some assistance with figuring out why ESRI Tile layer does not load in Leaflet? It loads in OpenLayers and of course when using the ESRI JS API, but I'd like to use Leaflet... This is the standard Leaflet "Quickstart" example with the…
Cloudstako
  • 11
  • 2
1
vote
1 answer

Using ESRI street maps with Leaflet

How can I integrate the ESRI street maps (https://leaflet-extras.github.io/leaflet-providers/preview/#filter=Esri.WorldStreetMap) into my leaflet javascript. Following is what I did but the map doesn't load.
Kulin Shah
  • 11
  • 2
1
vote
1 answer

How to create and display a custom base map with ESRI Leaflet?

The educational web app I'm working on makes use of ESRI base maps displayed with Leaflet. (See CODAP and click the Map tool.) One of our partners would like to be able to use a base map that displays biomes as, for example, displayed here. ESRI…
wfinzer
  • 21
  • 2
0
votes
0 answers

Adding Tooltips to Leaflet Layer Control Checkboxes for Disabled Layers

I'm working on an Angular application where I'm using Leaflet and esri-leaflet to display maps and layers. I have a layer control with checkboxes (the build-in one of leaflet) that allow users to toggle the visibility of different esri layers on the…
Dekel tsairi
  • 117
  • 1
  • 8
0
votes
1 answer

esri-leaflet-geocoder has error in both old and current version

I was trying to have points plotted on a map based on the address for a project but for right now while testing I am just putting the map's view on the location. I found some information online giving a function to do this and it seemed to work with…
0
votes
2 answers

How to use arcGIS Leaflet query run and push to Array during query and return a complete Array

I am querying each point of a polygon object (e in this case) using esri leaflet. To do so I have the following function that I use on a polgon that is passed to it: const queryFeature = (e: any) => { let nearbyCollection: any = new Array() …
Simon Palmer
  • 384
  • 1
  • 2
  • 13
0
votes
0 answers

ESRI-Leaflet why when at low zoom levels does passing Geosearch results.latlng to dynamicMapLayer.identify().at() retrieve wrong the feature?

I've been fighting a bug in an ESRI leaflet map for days and I am hoping for some ideas. I have a geosearch that searches dynamicMapLayers. I pull a latlng from the results and pass it to a .identify() as the argument in the .at(). This works fine…
TreverB
  • 1
  • 3
0
votes
1 answer

Find frontage street polyline given a street address

I have an app whereby users select parcels of land based on shapefile information. How can I return the associated street polyline location (lat, long)? I want to be able to locate the center of the street and its extents in front of this parcel.…
Simon Palmer
  • 384
  • 1
  • 2
  • 13
0
votes
1 answer

Esri-leaflet error "Uncaught TypeError: Cannot read properties of undefined"

I have an old esri-leaflet map that queries and displays a feature from a published feature service. I'm migrating the dashboard that uses this map to a new server that requires https. I keep getting this error, and I have no idea what's…
0
votes
1 answer

Bound popup removed when layer changed in control

I have a map with a layer control that has overlays specified in the baselayer parameter: var overlays = { 'Layer 1': mylayer1, 'Layer 2': mylayer2 }; L.control.layers( overlays, null, { collapsed: false } ).addTo( map ); I specify my…
jvanulde
  • 33
  • 4
0
votes
0 answers

Display offline ArcGIS Esri map using Leaflet

I need to display ArcGIS ESRI map hosted in intranet environment. I was following this example and it works fine when system is connected to internet. As our Map Server is hosted in intranet environment so I cannot use above example. I have further…
0
votes
1 answer

How to query points with a polygon layer using Bootleaf / esri-leaflet?

I am using the Bootleaf IAG framework. I can not figure out how to get the bounding coordinates of a filtered layer. I am modifying the bootleaf code to query points with a polygon layer. The Query Widget already allows users to draw a polygon, but…
0
votes
1 answer

Vector tiles are showing in the wrong place and in the wrong scale in esri-leaflet-vector plugin

I'm using esri-leaflet@3.0.0 and leaflet 1.7.1 and esri-leaflet-vector plugin. When I'm adding VectorTileServer layer, rendered tiles are showing in the wrong place and in the wrong scale. Where I doing wrong? VectorTileServer is published in Web…
javalonde
  • 549
  • 2
  • 6
  • 7
0
votes
1 answer

Leaflet labels on top

I am quite new to leaflet and would like some advice. I use the UN Clear map as a base map to which I add some polygons using a GeoJSON layer. I learned about a nice trick here, using map panes to get the labels on top of the polygons. I am trying…
Aran
  • 13
  • 3