|
BLOG
|
In the last few days we have released patches for Esri Leaflet, Esri Leaflet Geocoder, and Esri Leaflet Vector. In addition to bug fixes for the open source libraries, they include improvements contributed by both staff and our amazing customers. The latest release of Esri Leaflet Vector now supports drawing vector tiles published using ArcGIS Pro! Esri Leaflet v2.0.6 https://github.com/Esri/esri-leaflet/releases Esri Leaflet Vector v1.0.6 https://github.com/Esri/esri-leaflet-vector/releases Esri Leaflet Geocoder v2.1.1 https://github.com/Esri/esri-leaflet-geocoder/releases Check them out and let us know what you think!
... View more
11-22-2016
02:14 PM
|
5
|
0
|
904
|
|
POST
|
i'm not an export on selecting cache options, but i'm assuming the degradation is the result of the default settings for output cache raster format and quality. Available map and image cache properties—Documentation | ArcGIS for Server
... View more
11-11-2016
08:40 AM
|
1
|
3
|
5285
|
|
POST
|
you just aren't zoomed in close enough. var map = L.map('map').setView([40.374761, -111.736418], 18);
L.esri.tiledMapLayer({
url: "http://tiles.arcgis.com/tiles/mvnrDxfOCq0CsVom/arcgis/rest/services/15094Background/MapServer",
minZoom: 15,
maxZoom: 21
}).addTo(map); i figured that out by snooping the web traffic in the JSAPI sample viewer that ships with the service.
... View more
11-10-2016
11:26 AM
|
1
|
6
|
5285
|
|
POST
|
sample: http://esri.github.io/esri-leaflet/examples/tile-layer-2.html API reference: http://esri.github.io/esri-leaflet/api-reference/layers/tiled-map-layer.html
... View more
11-10-2016
09:33 AM
|
1
|
8
|
5285
|
|
POST
|
i could be wrong, but i don't think there's anything cooked into Cedar to simplify creating a chart that plots the appearance of individual records in a table over time. You can see an example of a generic leaflet D3 chart plugin that displays elevation from input GeoJSON and GPX files below. GitHub - MrMufflon/Leaflet.Elevation: Leaflet plugin to view height profile of GeoJSON- and GPX polylines using d3 We integrated the plugin in an esri-leaflet-gp demo here: https://johngravois.com/esri-leaflet-gp/elevation.html I'm happy to lend a hand if you decide to tackle the project you described and get stuck along the way. Just write again here or log an issue in esri-leaflet-related and share what you've already tried.
... View more
10-31-2016
08:52 PM
|
1
|
1
|
1501
|
|
POST
|
L.esri.featureLayer includes four methods to assist in invoking editing requests. you can find code snippets published in the API reference under L.esri.FeatureLayerService to see example syntax.
... View more
10-11-2016
08:58 AM
|
1
|
1
|
1143
|
|
POST
|
https://github.com/jgravois/esri-leaflet-related/blob/master/src/EsriLeafletRelated.js
... View more
09-21-2016
12:43 PM
|
1
|
1
|
2276
|
|
POST
|
we don't have any attachment samples because Esri Leaflet doesn't provide any wrappers to simplify working with them. its absolutely possible, but its up to you to write the business logic to do the querying and display the results. L.esri.Task and L.esri.request are both low level utility classes to simplify making requests to ArcGIS Online and ArcGIS Server services that would be worth taking a look at. if you want to give it a shot and can take a stab at writing some code, i'd be happy to help further.
... View more
09-21-2016
11:01 AM
|
1
|
0
|
2276
|
|
POST
|
since its just a single static image and not something you can georeference, if it were me i wouldn't even bother tiling it. live sample: http://jsbin.com/rinexub/edit?html,output reference: http://stackoverflow.com/questions/13110763/is-leaflet-a-good-tool-for-non-map-images
... View more
09-16-2016
01:45 PM
|
1
|
1
|
1044
|
|
BLOG
|
Today we released a brand new open source plugin to display ArcGIS Online vector tile basemaps in Leaflet. Check it out in action! http://esri.github.io/esri-leaflet/examples/vector-basemap.html Not ready for all that WebGL? We have patch releases for Esri Leaflet (2.0.3) and Esri Leaflet Geocoder (2.1.3) too. Thats a hat-trick!
... View more
09-15-2016
05:17 PM
|
3
|
1
|
1007
|
|
POST
|
Your GP task will execute sucessfully if you set the parameters below. gpTask.setParam("Input_Features", gpPoint );
gpTask.setParam("Distance__value_or_field_", JSON.stringify(gpBuffer) );
gpTask.setOutputParam("Addresses_Buffer"); 1. the esri-leaflet-gp plugin is able to translate L.LatLng, L.LatLngBounds, L.Marker or GeoJSON Point Line and Polygon geometry objects into a GPFeatureRecordSetLayer for ArcGIS Server. The default value you see in the service itself defines an attribute schema and an empty array of features, but since it appears that the service just buffers input geometries, it seems that providing specific attributes that correspond with the geometries isn't technically required. 2. for better or worse, esril-leaflet-gp assumes that all objects passed to .setParam() are geometries. because in your case you just want to pass a generic JSON object literal to your service, it can be passed as a string instead. 3. its also currently necessary to tell esri-leaflet-gp the same of our output parameter so that it knows where to fetch the results of async requests. i see a couple generic usability issues and opportunities to improve the documentation of the library as a result of your questions, so if you'd be gracious enough to open an issue and act as a sounding board, i'd be happy to chat further. And now for something completely different. based on what you've written (and what we discussed previously in github) it doesn't sound like you are actually attempting to buffer a known collection of features at all, but rather to filter an existing service to find features that are inside a known circular polygon on the fly. if this is the case you were on the right track originally when attempting to use QueryTask.nearby(). the good news is, that even if the specific service you want to query doesn't (and can't be made to) support the nearby operation (which only requires a center and radius), ALL esri feature layers allow you to pass an actual circular geometry that you've already constructed in order to quickly determine which features intersect it. since libraries like turf.js provide clientside JavaScript buffering directly in the browser, you'd be a lot better off using something like that to generate GeoJSON representing your circle and then pass that to QueryTask.within() or intersects(). another option would be to rip off some code i ripped of from stack overflow (below) for creating your own geodesic circles without a new external dependency. https://github.com/Esri/geotrigger-editor/pull/225/files
... View more
08-09-2016
01:31 PM
|
2
|
0
|
2319
|
|
BLOG
|
we've published Esri Leaflet version 2.0.2 with a few new goodies and pushed updates to the website to show it off alongside Leaflet's own, hot off the presses 1.0.0-rc.3 release. Full list of changes https://github.com/Esri/esri-leaflet/blob/master/CHANGELOG.md if you see any problems, come find us on github. enjoy!
... View more
08-08-2016
11:28 AM
|
2
|
0
|
747
|
|
POST
|
output from ArcMap's 'Features to JSON' tool won't work because its not GeoJSON, its Esri's own Geoservices JSON. http://desktop.arcgis.com/en/arcmap/10.3/tools/conversion-toolbox/features-to-json.htm in ArcGIS Pro, we've added an optional parameter to the tool for generating GeoJSON http://pro.arcgis.com/en/pro-app/tool-reference/conversion/features-to-json.htm ArcGIS REST API - Feature JSON documentation http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Feature_object/02r3000000n8000000/ GeoJSON and Esri JSON side by side example of geojson · GitHub example of geoservices json · GitHub
... View more
07-26-2016
08:49 PM
|
0
|
0
|
3411
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-16-2014 02:35 PM | |
| 1 | 03-15-2013 04:25 PM | |
| 1 | 06-01-2016 10:51 AM | |
| 1 | 12-28-2015 04:46 PM | |
| 1 | 12-28-2015 05:26 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:22 AM
|