Questions tagged [esri-leaflet]

Lightweight set of tools for working with ArcGIS services from Leaflet

Filter by
Sorted by
Tagged with
0 votes
0 answers
31 views

Possible to get symbol imagery from FeatureLayer using esri-leaflet and/or esri-leaflet-renderers?

Have been using Leaflet with esri-leaflet plug-in for a while to add dynamicMapLayers to maps in our app. We have implemented a tool that allows a user to click on an overlay to get attributes of the ...
bdk0172's user avatar
  • 119
0 votes
0 answers
119 views

How to display the World Imagery wayback in a custom Leaflet map

I want to use the world imagery wayback as a visual interpretation tool for some analysis. An easy solution is to download all the coordinates I want to check and display them in their application : ...
Pierrick Rambaud's user avatar
3 votes
2 answers
360 views

Add ESRI wayback WMTS service in ipyleaflet

I'm struggling to use the ESRI wayback WMTS service in (ipy)leaflet. I tried the options below but none of them worked. Via wms from ipyleaflet import Map, basemaps, WMSLayer, TileLayer wayback_url = ...
Loïc Dutrieux's user avatar
0 votes
0 answers
72 views

Copy data from ArcGIS Online using Esri Leaflet

I have an ArcGIS Pro level license with access to ArcGIS Online and need to automate the exports of data from ArcGIS Online, collected by field workers using Esri's Field Maps, to a file format that I ...
Chad Leftwich's user avatar
1 vote
0 answers
268 views

404 errors in ESRI Leaflet when zooming too far with ESRI Basemaps

I was wondering if there was anyway to avoid 404 errors in ESRI Leaflet when zooming "too far" on the Satellite layer (ArcGIS:Imagery) with L.esri.Vector.vectorBasemapLayer. I understand ...
punkfacenat's user avatar
0 votes
0 answers
31 views

Leaflet.js: Is a Circle a good way to create a search for an area to create a route? [duplicate]

I am trying to create a route for a user based on a search of an area based on topography data. The criteria is an elevation property. E.G. a user can search an area and get a route based on elevation....
Antonio Pavicevac-Ortiz's user avatar
0 votes
0 answers
102 views

Testing app locally when using Esri-Leaflet ReverseGeoCoding method with ArcGIS Developers API key

While testing my app like so: esriLeafletGeocoder .reverseGeocode({ apikey: process.env.ESRI_API_KEY, }) .latlng([48.8583, 2.2945]) .run(function (error, results, ...
Antonio Pavicevac-Ortiz's user avatar
1 vote
1 answer
1k views

Adding ArcGIS Online Feature Layer to Leaflet project

I have a hard time adding a simple feature layer from my ArcGIS Online account to a Leaflet project. This is my approach: <script src="https://unpkg.com/esri-leaflet/dist/esri-leaflet.js"&...
MrSalamikuchen's user avatar
1 vote
1 answer
222 views

A WMTS layer (Topotijdreis) does not show in Leaflet map

I want to maka a map with the following layer/data. But the map does not show up. This is the WMTS service: here I am using programming language R and the leaflet package in R. My code looks like this:...
Lennart Jongen's user avatar
0 votes
1 answer
264 views

Using large data JSON file in Leaflet markercluster [closed]

I want to show the JSON file consisting of many points on the map using the leaflet marker cluster plugin. My JSON file looks like: [ { "json_featuretype" : "Output", "...
Özge A's user avatar
  • 63
4 votes
2 answers
300 views

Selecting all objects with specific value from GeoJSON in new variable

So I have a GeoJSON that I want to pull/filer/select all kitespots with a wind direction that includes "S" in Leaflet. (..and yes, am a beginner at coding..) var kitespots = { "type&...
Liah Cheston's user avatar
0 votes
1 answer
167 views

Access individual feature properties when running l.esri.find or l.esri.query

Here is what my site looks like: https://brandonlprice.github.io/landrecords/. How can I access the feature properties for a layer when running a find or a query on a layer? I have the the feature....
brandon p's user avatar
0 votes
1 answer
274 views

Group features from feature layer by specific field without making multiple queries

I have a feature layer where one of the properties always takes 4 possible values. Now I want to make 1 request to get all the features, group them by this property and feed each group to a different ...
user171163's user avatar
0 votes
1 answer
171 views

How to use feature collection after esri leaflet query.run()?

35 years coding but new to GIS leaflet and Esri.leaflet. Javascript I can do but it is not one my long term primary languages. I am trying to make a query result available for processing after some ...
Russell Campbell's user avatar
0 votes
0 answers
319 views

Interaction of leaflet.browser.print and esri.geosearch

I am using leaflet.browser.print: L.control.browserPrint({ documentTitle:'Verify Me!', closePopupsOnPrint:false }).addTo(map); with an esri geocode search: var searchControl = L.esri....
bagration's user avatar
0 votes
1 answer
372 views

ArcGIS vector tile layer label gets underneath satellite image after pan or zoom esri-leaflet-plugin

I am trying to render on a leaflet map an ArcGIS vector layer and a satellite image layer using the [Esri Leaflet Vector Tile plugin][1]. The issue is that when I add those two layers the labels of ...
Archelaos's user avatar
1 vote
1 answer
150 views

Getting polylines back from leaflet when using esri-leaflet featureLayer

I have a leaflet map that uses esri-leaflet to display a feature layer created for arcgis that is a number of paths. These paths are created correctly and I can see them on the map, but they aren't ...
Li Brary's user avatar
1 vote
2 answers
708 views

Leaflet MarkerCluster and Esri Leaflet Cluster - custom marker data from feature data not count of markers in the cluster

Is it possible to sum the data from the feature data in a esri feature layour to display on a clustermarker. The default value is the count of the markers contained in the cluster, but I want it to ...
beckersj's user avatar
0 votes
1 answer
505 views

Filtering Esri Leaflet feature layers using setWhere() method

I have Esri Leaflet feature layers representing traffic accidents in multiple cluster marker groups. The cluster marker groups are created based on attributes that specify the geographic areas to ...
nlibassi's user avatar
0 votes
0 answers
145 views

Misalignment between overlay and base layers in Leaflet web map

I use esri-leaflet (https://esri.github.io/esri-leaflet/api-reference/layers/dynamic-map-layer.html) library for LEaflet to display ESRI Dynamic Map Layer (http://gismaps.baladia.gov.kw/arcgis/rest/...
spatialhast's user avatar
  • 3,621
1 vote
2 answers
127 views

Leaflet activearea interferes with esri-lealet imagelayer

I am creating a leaflet application that uses various data sources / map layers. I found a great source for global ground cover from esri. It is an imageLayer. Using an esri-leaflet imageLayer, I ...
Seth Lutske's user avatar
1 vote
0 answers
502 views

Esri Leaflet refresh() method not working

I'm looking to refresh a featureLayer in Esri Leaflet with the refresh() method (API reference: https://esri.github.io/esri-leaflet/api-reference/layers/feature-layer.html). I set up a button to ...
Derek Duskin's user avatar
1 vote
1 answer
165 views

Create a map survey and download the result

I have a shapefile of our state boundary. I want people to be able to drop a pin and add their names to the pin as an attribute. From there I would like to download all the pins as a shapefile and ...
bwgis's user avatar
  • 21
0 votes
2 answers
9k views

Leaflet event onclick zoom in and out (JavaScript) [closed]

I just want to make onclick event in zoom in and zoom out. How can I do it? I just confused to make it because zoom in and zoom out is something that generated by library. Should I make new function? ...
Ray Coder's user avatar
  • 103
0 votes
1 answer
250 views

ESRI-Leaflet updateFeature with a changed attribute or property

I'm updating a feature in ESR-Leaflet from a feature layer based on a call to a function. What I'm having trouble with is submitting this change to the feature service. Currently I: Get the feature ...
anakaine's user avatar
  • 280
0 votes
1 answer
329 views

Esri-Leaflet getFeature returns 'undefined'

I'm using Esri-Leaflet and whenever I try to use getFeature() the console.log returns "undefined". There are no other errors to accompany the undefined message. var service = L.esri....
anakaine's user avatar
  • 280
1 vote
1 answer
367 views

L.esri.Cluster.featureLayer does not call style function

Using the L.esri.Cluster.featureLayer plugin for Leaflet to cluster features from Esri does not call the style method despite the documentation stating that this is the way to style vector layers. ...
nothingisnecessary's user avatar
1 vote
0 answers
206 views

Esri-Leaflet, Geoprocessing, and Error 500 on return

I'm receiving an error 500 back from ArcGIS Server when I submit a polygon via ESRI-Leaflet. I'm not overly good with Javascript, so I may be missing something obvious - though it's not obvious to me. ...
anakaine's user avatar
  • 280
3 votes
1 answer
517 views

Leaflet access dynamic layers globally

I am adding layers to my map dynamically based on whats available in the MapServer. I am looping over them so I can add them in the LayerControl. My issue is that I dont have access to the layers ...
geogrow's user avatar
  • 1,673
0 votes
1 answer
265 views

Esri Leaflet identify() only on added layer from MapService

I try to identify features only from the wastepit layer. In this example I am adding two layers: wells and wastepit. I am only calling the identify function on the wastepit layer but I still get ...
geogrow's user avatar
  • 1,673
0 votes
1 answer
476 views

Update attributes of Esri FeatureLayer from Leaflet

I have a shapefile hosted as Feature Layer at ESRI Server. I create a Leaflet application where I want to enable an attributes update of my Feature Layer (field 'Status'). I have customized a popup ...
Elena Klimenko's user avatar
0 votes
1 answer
772 views

Remove L.esri.query featureLayer from map ESRI Leaflet

Using ESRI Leaflet I am adding markers to the map from an ArcGIS online feature service. I do this using the L.esri.query method similar to: function slideChange(time1, time2, service) { L.esri....
wtgeographer's user avatar
2 votes
1 answer
131 views

Unable to pull a bts.dot.gov MapLayer using Leaflet in R

I'm trying to get the noise pollution layer from the following bts.dot.gov ESRI MapServer to render in R: https://maps.bts.dot.gov/services/rest/services/Noise/CONUS_road_and_aviation_noise/MapServer ...
nod's user avatar
  • 141
1 vote
1 answer
276 views

Need syntax to restyle some data via dynamic layers and ArcGIS REST API

I produce maps using Leaflet and the Esri Leaflet plugin. Here is a MapService layer from the USGS pertaining to the risk of debris flow. Note that if attribute combhazcl=3 then this data is ...
Gmap4 guy's user avatar
  • 190
0 votes
1 answer
254 views

Higher than maxNativeZoom requests tiles

Leafet is requesting tiles while at a higher zoom level than maxNativeZoom from defined mapserver instead of just stretching the maxzoom sized tiles. It is creating a lot of 404s since my maxzoom is ...
lost.in.userspace's user avatar
0 votes
1 answer
204 views

Set attribute values while creating an ArcGIS Server feature in esri-leaflet?

The Esri-Leaflet sample map Editing feature layers shows how the geometry of an ArcGIS Server feature layer can be created in Leaflet, by digitising a new polygon which is inserted into the feature ...
Stephen Lead's user avatar
  • 21.1k
2 votes
1 answer
323 views

Finding number of point features located within a polygon layer using L.esri.query

I am new to JavaScript and Leaflet, so please bear with me. I am working on a Leaflet map in which I am calling in two separate REST layers, a point layer (heritage trees) and polygon layer (...
adastrus's user avatar
1 vote
1 answer
682 views

ESRI Leaflet not displaying simple Feature Layer

I'm having trouble getting my ArcServer feature layers to display at all in leaflet webmaps. I'm just using a simple HTML tester, and I am able to display and mess around with ESRI-supplied feature ...
Jvhowube's user avatar
  • 376
2 votes
1 answer
323 views

Esri leaflet plugin only showing North America tile?

I am using the esri-leaflet plugin to connect to an internally hosted ArcGIS Server. I have tried using a basemap or tilemap implementation but get the same results with both. The problem is that I ...
spartikus's user avatar
  • 123
0 votes
1 answer
296 views

Leaflet ESRI plugin for Title Service

I'm using this ESRI leaflet plugin Example to load a tiledMapLayer. <script> var map = L.map('map').setView([30.70, -81.47], 12); L.esri.tiledMapLayer({ url: "https://services....
AnythingMapping's user avatar
2 votes
1 answer
2k views

dynamically added class not retained on leaflet marker

I am trying to add an active class to the marker that was clicked by the user. For this, I am storing the clicked marker's icon in a variable and doing the following let activeMarker = e.target._icon;...
Priyesh Tungare's user avatar
1 vote
2 answers
902 views

Leaflet fails to overlay my ESRI hosted Tiled Service on the OpenStreetMap basemap

I have a public-accessible tiled service hosted on the ESRI ArcGIS Online platform in EPSG 3857 (Web Sphere Mercator). The service URL is https://tiles.arcgis.com/tiles/RylLPiI61AyfENce/arcgis/rest/...
alextc's user avatar
  • 2,013
2 votes
0 answers
903 views

'ObjectId field is missing' error when using Esri Leaflet updateFeature

I am trying to update a feature on the map upon click of a button. I am using updateFeature function of esri leaflet feature layer. Here's the code that I have written: layer_view_18.updateFeature({...
Priyesh Tungare's user avatar
1 vote
1 answer
674 views

Leaflet misinterpreting tiles info from an ESRI hosted Tiled Service

I am working on showing my ESRI tiled layer to a simple Leaflet web viewer. The tiled layer is hosted from ArcGIS Online. I tested both the ESRI Leaflet plugin and the original Leaflet's tyleLayer ...
alextc's user avatar
  • 2,013
2 votes
0 answers
261 views

Syntax error when switching basemaps using Esri Leaflet? [closed]

I'm kind of new at using Leaflet and have a question for an issue that keeps popping up. I'm using the code from the example here: https://esri.github.io/esri-leaflet/examples/switching-basemaps....
evan's user avatar
  • 21
1 vote
1 answer
179 views

refreshClusters on esri.Cluster.featureLayer

I am trying to 'refresh' a cluster layer which is created by L.esri.Cluster.featureLayer and a feature url. I have tried to remove and re-add the layer (with no succees). But the refreshClusters is ...
Ced's user avatar
  • 11
1 vote
2 answers
269 views

leaflet esri identify features

I have layer(lote_ocupa) in control layers, when i launch application is disable but: When I click on the map, even if the "lote_ocupa" layer is disabled, the identify function selects the feature, ...
krekto's user avatar
  • 123
1 vote
1 answer
2k views

Spatial Queries in Leaflet, select polygons from (A1,A2...An) which intersect with polygon (B)

I am looking for an online solution for leaflet where I can select and export (console log, geojson, addLayer) a group of polygon from a geojson file which intersect with a drawn polygon (with leaflet ...
Tamas Kosa's user avatar
  • 1,507
2 votes
1 answer
323 views

Using ArcGIS Tokens to visualize user authenticated data in Esri Leaflet?

I'm currently using Esri Leaflet with authenticated user services. Authenticated services are set up and work fine for displaying geographic data after login, however, I want to create a dashboard ...
GISHuman's user avatar
  • 3,661
0 votes
0 answers
65 views

esri leaflet calcite geojson popup binding

I am binding a popup to the results of a query, that is working fine. My problem is whenever the map changes (pan, zoom, etc.) the popups no longer work. Is there something I should be doing in a ...
user1410692's user avatar