|
POST
|
That view hitTest sample from @woriginal1 is probably the best resource. Here is an additional sample that uses the "pointer-move" event along with hitTest and a debounce to create a popup on mouse hover: https://codepen.io/gavinr/pen/WNEwKEq?editors=0010
... View more
10-18-2021
11:31 AM
|
1
|
0
|
2149
|
|
POST
|
Thank you for your question. It seems like even the "js-api-widget" sample (without any changes) does not work when adding it to a Widget Controller. I'm looking into this to see if there's a fix/workaround for this.
... View more
10-15-2021
06:44 AM
|
0
|
2
|
2598
|
|
POST
|
You can use "L.tilelayer.wms" - see the tutorial on the Leaflet documentation site: https://leafletjs.com/examples/wms/wms.html Here's a code sample using your service: https://jsbin.com/tuhukamefu/1/edit?html,output
... View more
10-13-2021
11:30 AM
|
1
|
1
|
3248
|
|
POST
|
Per this issue in the Leaflet repository, Leaflet does not officially support rotation. If you're looking for map rotation, I would suggest looking at the ArcGIS API for JavaScript v4 which fully supports rotation.
... View more
09-21-2021
07:29 AM
|
0
|
1
|
2187
|
|
POST
|
Hi Dan, are you still having this issue? If so, can you please post an example code showing the issue?
... View more
09-15-2021
05:43 AM
|
0
|
0
|
1095
|
|
POST
|
This was resolved in a GitHub issue: https://github.com/Esri/esri-leaflet-geocoder/issues/277
... View more
07-29-2021
02:27 PM
|
1
|
0
|
1589
|
|
POST
|
Thank you for the report. It seems like there may be an issue with how the sprites REST endpoint handles the call when an API key with a referer restriction is used. We are investigating.
... View more
07-28-2021
08:05 AM
|
1
|
1
|
1681
|
|
POST
|
Hi, did you follow the instructions on the top of the page here: https://esri.github.io/arcgis-rest-js/guides/node ? Specifically, installing these modules: npm install @esri/arcgis-rest-request @esri/arcgis-rest-auth cross-fetch isomorphic-form-data
... View more
07-21-2021
10:57 AM
|
0
|
0
|
2383
|
|
POST
|
Hi, thanks for the question. It looks like that service is a "Tiled Imagery Layer" (see that on the item details page). Given that, I think it would probably be better to use L.esri.tiledMapLayer(). I tested using L.esri.tiledMapLayer(): https://codepen.io/gavinr/pen/QWvvdpm?editors=0010 If you open the developer console, you'll see the message "L.esri.TiledMapLayer is using a non-mercator spatial reference". In other words, the service is published in a non-web-mercator WKID. Specifically it's using WGS84 (4326). So the first task will be to get that 4326 layer onto your map. See these resources: http://esri.github.io/esri-leaflet/examples/non-mercator-projection.html https://leafletjs.com/reference-1.7.1.html#map-crs https://leafletjs.com/reference-1.7.1.html#crs-l-crs-epsg4326 Additionally, if you look more at that service, you'll notice the format is LERC2D. I do not think L.esri.tiledMapLayer() will currently support that. There was a discussion on supporting this in Esri Leaflet: https://github.com/Esri/esri-leaflet/issues/726 That issue was closed due to lack of activity, but perhaps with interest in this new service (and others like it) now is the time. If you'd like to chime in on that issue or create a new one, your feedback (or code contributions, if you figure out how to do it) would be appreciated.
... View more
07-16-2021
11:19 AM
|
2
|
4
|
3644
|
|
POST
|
I think that's a good way to do it. This sample uses L.Util.template which is a slightly different way to do it, so that's an alternative for you too.
... View more
06-29-2021
11:41 AM
|
0
|
0
|
873
|
|
POST
|
Hi, if your points are stored in an ArcGIS Online Hosted Feature Layer, you can use the "L.esri.featureLayer" module from Esri Leaflet. Example: https://esri.github.io/esri-leaflet/examples/simple-feature-layer.html Tutorial: https://developers.arcgis.com/esri-leaflet/layers/add-a-feature-layer-as-geojson/
... View more
06-29-2021
11:37 AM
|
0
|
0
|
1106
|
|
POST
|
Answered here: https://github.com/Esri/esri-leaflet-vector/issues/93
... View more
06-14-2021
03:04 PM
|
0
|
0
|
1893
|
|
POST
|
One way to do this is to use the "Export Web Map Task". It can output images (PNGs, JPGs, etc) as well as PDFs based on a configuration of layers (Web_Map_as_JSON) that you pass in as a parameter. Documentation: https://developers.arcgis.com/rest/services-reference/enterprise/export-web-map-task.htm Depending on your requirements, you can send this request via GET or POST. See this endpoint form for help on constructing the request: https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task/execute Demo: I cannot copy/paste the full URL here because it's too long, so you can go here and copy/paste this URL into your browser. It will send back a JSON response that contains a link to the image. https://www.arcgis.com/sharing/content/items/fe52496307ff4defa1fb8f9c55533f3d/resources/get-image-url-example.txt
... View more
05-27-2021
08:55 AM
|
1
|
1
|
2955
|
|
POST
|
Hi, you can provide feedback by following these instructions: https://support.esri.com/en/technical-article/000011831 Thank you!
... View more
04-15-2021
12:07 PM
|
1
|
0
|
965
|
|
POST
|
Daniel, could you please share the leaflet code that is causing that issue?
... View more
04-02-2021
09:01 AM
|
0
|
0
|
2881
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-26-2019 11:05 AM | |
| 1 | 03-06-2024 07:59 AM | |
| 1 | 12-29-2022 01:20 PM | |
| 1 | 06-21-2022 06:17 AM | |
| 1 | 07-08-2022 06:45 AM |
| Online Status |
Offline
|
| Date Last Visited |
08-06-2025
05:59 AM
|