Questions tagged [esri-oss]

esri-oss is for esri open source software, projects, and tools

18 questions
4
votes
0 answers

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 layer must meet in order to be considered…
colbin8r
  • 342
  • 2
  • 12
2
votes
1 answer

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 is opened which I don't want. As l.divicon…
1
vote
1 answer

Can I use ArcGIS REST-API "applyEdits" to update Feature-Layer as an authenticated user?

I'm using nodeJS to edit my Feature-Layer using REST API. My intention is to: Update my layer using Firebase Cloud-Functions Share my layer publicly But keep my layer non-editable for unauthorised users I want to use my API-Key for…
arielhasidim
  • 694
  • 10
  • 19
1
vote
1 answer

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 to mark my location, draw a 5nm circle around it,…
blintster
  • 133
  • 1
  • 7
1
vote
1 answer

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 standard Leaflet "Quickstart" example with the…
Cloudstako
  • 11
  • 2
1
vote
1 answer

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't load.
Kulin Shah
  • 11
  • 2
1
vote
1 answer

How to create and display a custom base map with ESRI Leaflet?

The educational web app I'm working on makes use of ESRI base maps displayed with Leaflet. (See CODAP and click the Map tool.) One of our partners would like to be able to use a base map that displays biomes as, for example, displayed here. ESRI…
wfinzer
  • 21
  • 2
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

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
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:…
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
1
2