Skip to main content

All Questions

Tagged with
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) =&...
Simon Palmer's user avatar
0 votes
0 answers
114 views

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: 'https:...
vinita jain's user avatar
0 votes
1 answer
230 views

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 ...
OmarLittle's user avatar
1 vote
1 answer
442 views

ESRI LEaflet - Adding ESRI GeoJSON / MultiPart Polygons to a REST service

I'm currently allowing users to draw into an ESRI-Leaflet map using a drawing layer, adding some additional properties to that layer, and then submitting the results to a feature service. This is ...
anakaine's user avatar
  • 1,228
0 votes
1 answer
565 views

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 }, ...
redchair218's user avatar
2 votes
0 answers
117 views

Include a custom Esri baselayer/webmap in Leaflet

We've been using esri-leaflet to put a base layer on my maps, but now we want a different look. Using their webmap editor we have put together a map we like and I have the webmap ID and using the docs ...
Craig's user avatar
  • 8,203
0 votes
1 answer
34 views

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 ...
Johnny's user avatar
  • 71
0 votes
1 answer
245 views

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. ...
jiraiya's user avatar
  • 997
0 votes
1 answer
186 views

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 ...
Usama Saleem's user avatar
1 vote
0 answers
251 views

how to bind tooltip to L.esri.DynamicMapLayer

I can bind a popup to esri leaflet's L.esri.DynamicMapLayer layer but how would I bind a tooltip to below DynamicMapLayer ? var featureLayer = L.esri.dynamicMapLayer({ url: url, ...
Bravo Ragazo's user avatar
1 vote
1 answer
707 views

Leaflet: e.layer doesn't work with L.Marker or esri.featurelayer?

I have a layer of centerpoints derived from polygons via an OnEachFeature event. The first part of the behavior I'm looking for is for the polygon associated with that centerpoint to change style ...
GeoJoeK's user avatar
  • 61
2 votes
1 answer
784 views

Leaflet: Polygon center objects that are useable by MarkerCluster

Is there there a way to add centerpoints created via .getCenter() within an onEachFeature event (see below) to an L.Marker, or similar, object that contains all of the centerpoints created on that ...
GeoJoeK's user avatar
  • 61
5 votes
0 answers
3k views

How can I tell if a Leaflet layer is currently visible?

I'm building a Leaflet plugin that adds/removes layers to/from a Leaflet map. My plugin needs to know if a given layer is visible on-screen. So far, I've come up with the following criteria that a ...
colbin8r's user avatar
  • 352
0 votes
1 answer
528 views

Converting result of spatial querying to geoJson or retrieving administrative info (State, Country etc.)

I am trying to convert the selected regions in the following URL (marked in red) into geojson and retrieve administrative info (State, Country etc.) https://esri.github.io/esri-leaflet/examples/...
codejunkie's user avatar
2 votes
1 answer
460 views

Error while trying to delete/edit shape using leaflet draw - ESRI

I am trying to delete/ edit a shape created using leaflet draw. I get the following error when trying to edit the shape created. I'm using leaflet 1.0-rc1 and leaflet draw version 0.3.2. Here's my ...
codejunkie's user avatar

15 30 50 per page