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
esri-leaflet
64
questions
0
votes
1
answer
52
views
Connecting R Leaflet to esri vector tile service
I'm building a Shiny leaflet application that I want to use a ESRI vector tile map from my organization for. I can see that leaflet connects to it as the attribution is accurate. However the tiles ...
0
votes
1
answer
48
views
Long lag in ESRI leaflet featurelayer rendering
I'm rendering flowlines from the following web server on leaflet:
"https://watersgeo.epa.gov/arcgis/rest/services/NHDPlus_NP21/NHDSnapshot_NP21/MapServer/0";
It is a complicated layer and I ...
0
votes
1
answer
53
views
How to intercept esri-leaflet xhr request and then check CacheStorage API, if cache exist return cached feature layer data rather than send real xhr
My web app uses esri-leaflet package, it loads geojson via xhr rather than fetch from ArcGIS server. I am trying to use the following code to intercept xhr requests, however, it doesn't work, and the ...
1
vote
0
answers
45
views
I am using esri-leaflet as mapping library and using vectorTileLayer to add custom basemap however struggling with arabic text that is breaking
getWeatherMap() {
if(this.map){
this.map.remove();
}
const saudiArabiaCenter = [45.0792, 23.8859];
this.map = L.map(`map`, {
center: L.latLng(saudiArabiaCenter[1], ...
0
votes
0
answers
24
views
does esri leaflet has option like crossOrigin
I meet a Content Security Policy problem when using esri-leaflet to parse the ArcGIS mapserver to tileLayer,
the code snippet I used is as following:
L.esri.dynamicMapLayer({
url: 'https://...
0
votes
0
answers
61
views
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 ...
0
votes
1
answer
347
views
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 ...
0
votes
2
answers
97
views
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) =&...
0
votes
0
answers
118
views
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()...
0
votes
1
answer
112
views
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 ...
0
votes
1
answer
666
views
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 ...
0
votes
1
answer
191
views
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, { ...
0
votes
0
answers
619
views
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 ...
0
votes
1
answer
480
views
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 ...
0
votes
1
answer
393
views
Vector tiles are showing in the wrong place and in the wrong scale in esri-leaflet-vector plugin
I'm using [email protected] 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 ...