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

59 questions
0
votes
1 answer

Using an ESRI Routing service with Leaflet Routing Machine

So i am trying to use an ESRI Route service in a Leaflet map using https://github.com/jgravois/lrm-esri and am getting an error that maybe someone can help me with. Even using the code provided at git, i still seem to get the error, it would seem it…
Messak
  • 423
  • 1
  • 3
  • 16
0
votes
1 answer

How can I get extent and scale to send to print server, or intercept request results?

I'm using leaflet and esri-leaflet to create a map from a proprietary ArcGIS server. I am trying to get a PDF back from a print server. I have examples using ESRI API 3.x but can't find any using esri-leaflet. I know the format of and can create the…
ScottG
  • 534
  • 4
  • 9
0
votes
0 answers

Unique Value Renderer - Esri Leaflet

I have not been able to render certain ArcGis Service layers on a web map with the esri leaflet plugin. I can run L.esri.query and get data back. Also, metadata returns a response with no errors. I've tried using the Esri Leaflet Renderers plugin to…
0
votes
0 answers

Pass Feature Attribute to Variable On Click - ESRI Leaflet

I am building a leaflet map with feature layers that are hosted on ArcGIS online. I would like to write a simple function so that when I click on a feature, the value of a particular column in the attribute table will be saved to a variable and…
0
votes
2 answers

add marker using esri leaflet

I want to add a marker using esri leaflet cart, My code to add a marker using mapbox is given as follow: var marker = L.marker(new L.LatLng(lat, long), { icon: L.mapbox.marker.icon({ 'marker-color': 'ff8888' }), …
Majdi Taleb
  • 731
  • 3
  • 9
  • 26
0
votes
1 answer

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 need to update the current sample to leaflet-1.2.0…
jakc
  • 1,161
  • 3
  • 15
  • 42
0
votes
3 answers

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
  • 515
  • 8
  • 22
0
votes
1 answer

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 TypeScript classes. TIA
John Little
  • 778
  • 6
  • 14
0
votes
1 answer

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 the map is grey upon loading. I saw that this can…
user1610717
  • 471
  • 5
  • 16
0
votes
1 answer

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(layer2); // ======================================…
csf
  • 189
  • 1
  • 3
  • 13
0
votes
1 answer

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 L.esri.dynamicMapLayer etc... for each layer.…
jasonflaherty
  • 1,924
  • 7
  • 40
  • 82
0
votes
1 answer

Error message when importing esri-leaflet-renderers to ReactJS+Backbone Cordova app

I've been building a Cordova app as a proof of concept for display about one of my ideas, so far it's been going great and I've come to learn plenty from this experience. I've based my work off of this project on GitHub, however I'm still very…
Dixos
  • 93
  • 1
  • 10
0
votes
1 answer

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/spatial-queries.html This is an example code that I…
codejunkie
  • 908
  • 2
  • 21
  • 34
0
votes
1 answer

Django-Leaflet - set dynamic layers

I want to set DynamicMapLayer to my django-leaflet template. Maybe anyone knows how can I do it? I prefer this like L.esri.dynamicMapLayer, maybe L.esri.featureLayer from esri-leaflet.js plugin.
Mae
  • 141
  • 1
  • 2
  • 13
1 2 3
4