Skip to main content

All Questions

Tagged with
2 votes
1 answer
214 views

How to stop popup from opening when I click on l.divicon custom html containing a button

I am using the esrileaflet library to render markers on a map having icon l.divicon which has a button in custom HTML. I have bound an event to the button click which is called but also marker popup ...
Bravo Ragazo's user avatar
0 votes
1 answer
1k views

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/...
DarwinsBeard's user avatar
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
0 votes
2 answers
1k views

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, ...
Obirieni Simeo's user avatar
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
228 views

Updating a D3 Map sample

I spotted a nice D3 Map & Chart sample that is using leaflet-0.5 d3.v3 I would like to make use of some features in the esri-leaflet package (specifically use a Vector basemap), but I believe I ...
jakc's user avatar
  • 1,171
0 votes
3 answers
323 views

Customize tiles - Esri Leaflet

I'm using the last version of Esri Leaflet with labels: L.esri.basemapLayer('ImageryLabels').addTo(map); How can I customize the labels layer? For example, I'd like to change the font or the color.
Bacchus's user avatar
  • 515
0 votes
1 answer
718 views

How to use Esri Leaflet javascript Plugin with TypeScript

My Aurelia project in TypeScript uses Leaflet for mapping. While Leaflet has typings the esri-leaflet plugin does not and is just javascript. How do I use / import the javascript plugin in my ...
John Little's user avatar
0 votes
1 answer
218 views

ESRI leaflet missing tiles

Here's the page I'm working on. Just click on "Forecasts" tab. On Chrome and FF browsers. http://www.weather.gov/mfr/dot Once on the forecasts tab, you'll see a map below the text links. Much of ...
user1610717's user avatar
0 votes
1 answer
346 views

Remove Dynamic Layer Esri Leaflet

I add DynamicLayers Leaflet Esri as you zoom in on the map. However I want to remove them and it is not working, it does not give any errors but it does not work. I try mapConsultaView.removeLayer(...
csf's user avatar
  • 189
1 vote
1 answer
2k views

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 ...
blintster's user avatar
  • 133
1 vote
1 answer
368 views

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 ...
Cloudstako's user avatar
0 votes
1 answer
454 views

How to switch layers[] in esri leaflet dynamiclayer

I have a single MapService with multiple layers. I'd like to utilize layer group for changing layers with radio buttons, but want to use it with the layers[] array option rather that creating a single ...
jasonflaherty's user avatar
1 vote
1 answer
2k views

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'...
Kulin Shah's user avatar
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

15 30 50 per page