esri-leaflet is an open source plugin for leafletjs, providing a lightweight set of tools for using ArcGIS services with leaflet
Questions tagged [esri-leaflet]
59 questions
0
votes
0 answers
esriPFS(Picture Filled Symbol) imageData is not displayed on Leaflet Map
Expected Result on Map
import * as L from "leaflet";
import * as esri from "esri-leaflet"
import "esri-leaflet-renderers";
let _layer = esri.featureLayer({
url:…

vinita jain
- 163
- 2
- 18
0
votes
1 answer
Esri-Leaflet - Search within a distance
I need to design an application using a feature layer stored in ArcGIS online. Using a geocoder/search, I need to be able to enter an address and select a distance (1 block, 2 blocks, etc). The result will show the new point, a distance radius, and…

juststartingout
- 15
- 2
0
votes
1 answer
esri ELG geosearch is not working properly
If you take a look at this : https://codesandbox.io/s/2wy7v2orwr?file=/src/Map.js
you will see you can search things on the map, but if you zoom-in somewhere randomly(deep zoom in, for example somewhere in the ocean), the search is unresponsive ,…

OmarLittle
- 423
- 1
- 9
- 18
0
votes
1 answer
Using L.esri.DynamicMapLayer, is it possible to bind a mouseover event rather than a pop-up on a dynamic map?
I'm aware of binding a pop-up to ESRI's L.esri.DynamicMapLayer here. The following code below is successful.
$.ajax({
type: 'GET',
url: url + '?f=json',
data: { layer: fooType },
dataType: 'json',
success:…

redchair218
- 29
- 6
0
votes
1 answer
Error: App(...): Nothing was returned from render. Esri-Leaflet-Geocoder
I am using esri-leaflet-geocoder to create a geosearch bar in my expo project. I am using this demo as a guildline:https://codesandbox.io/s/2wy7v2orwr?file=/src/Map.js:1443-1466. I am running into an error that is Error: App(...): Nothing was…

kboy
- 67
- 1
- 6
0
votes
1 answer
How to execute ESRI Leaflet map in PHP as a windows service
I have Created an Esri-leaflet map using (Esri-leaflet CDN from Esri leaflet GitHub repository) which plots markers and also written code to get the image exported with markers on page load and is saved as PHP file, Now I want to run this file as a…

revanth g
- 9
- 1
0
votes
0 answers
Layer from Authenticated ArcGIS Server not Showing in Leaflet Web Map
When I take this code directly from the ESRI Leaflet webpage and put it into JSFiddle it works great. All the layers from the ArcGIS server show up.
However, when I paste this exact code into a text file and make an HTML page with it, then open it…

Swing
- 1
- 2
0
votes
1 answer
geocoding doesn't show the next value from a for loop
I am trying to retrieve multiple values from a for loop to be pass into the esri.Geocoding function, but the problem is it only returned the first value and repeat it according to the number of records instead of returning the next value and so on.…
0
votes
1 answer
How to add ArcGIS server layer using leaflet.esri package?
I am trying to add a layer from a published ArcGIS service feature into a leaflet map in R using the leaflet.esri package.
I've read the documentations here https://rdrr.io/cran/leaflet.esri/man/addEsriTiledMapLayer.html and here…

DarwinsBeard
- 527
- 4
- 16
0
votes
1 answer
How to pass data to DataContext?
I have a list of zip codes to loop over to get the lat/lng. How do I pass the object zip to the "success" method so I can assign the lat/lng to the right zip object? Right now by the time I get the results back, I assign them to the wrong zip :-(
I…

Johnny
- 71
- 1
- 8
0
votes
1 answer
ESRI Leafet ImageryLabels BasemapLayer not displaying - all tile widths set to 0
I have been debuggging a very unusual issue with ESRI's ImageryLabels basemap but as of yet I have been unable to ascertain the root cause of the issue. I was wondering if anyone had a similar issue.
I want to display the Imagery basemap with both…

jiraiya
- 977
- 4
- 13
- 34
0
votes
1 answer
enablePermanentHighlight in esri Feature Layer
let marker = L.marker(new L.LatLng(lat, lon), { icon: markerIcon });
map.addLayer(marker);
Just like the normal marker, how can we use enablePermanentHighlight() on features of FeatureLayer. Any alternative?
This is how I use this on…

Usama Saleem
- 424
- 2
- 4
- 16
0
votes
1 answer
ESRI leaflet map, reset style not working
I am working on my first leaflet map and am running into an issue when trying to reset the style onMouseOut. it correctly changes style on mouse over but on mouse out, i keep getting: Object doesn't support property or method 'resetStyle'
This is…

NoBullMan
- 2,032
- 5
- 40
- 93
0
votes
2 answers
Vue2Leaflet and esri-leaflet plugin intergration. Adding layers from ArcGIS based map services
Why is the tile layer not showing while using a basemap from ArcGIS based service e.g. https://uneplivemapservices.unep.org/arcgis/rest/services/UNBASEMAP_Tiled/MapServer
Link to fiddle
var { LMap, LTileLayer, LMarker } = Vue2Leaflet;
new Vue({
el:…

Obirieni Simeo
- 61
- 8
0
votes
1 answer
Does Arcgis World Traffic Service Support History Data?
Now, I use Esri Leaflet http://esri.github.io/esri-leaflet/examples/premium-content.html
I want to Access Arcgis World Traffic Service History data,
Because, I only got a live traffic data.
May I access one month ago traffic data or another days?
I…

Frank Liao
- 855
- 1
- 8
- 25