August 2014
Intermediate to advanced
180 pages
3h 41m
English
In the previous example, you queried a feature layer based on an attribute. You can also query your feature layer based on its proximity to a point. In this example, you will query the layer based on the location of a mouse click. The following instructions will walk you through creating a proximity query:
pointToLayer option, returning circleMarker for each feature. You need to create the circle marker so that you can change the color of the marker in a later step:var graffiti = L.esri.featureLayer('http://services.arcgis.com/ rOo16HdIMeOBI4Mb/ArcGIS/rest/services/Graffiti_Locations3/FeatureServer/0', { pointToLayer: ...Read now
Unlock full access