JasonSanford / leaflet-vector-layers

A little help to viewing ArcGIS Server, Geocommons, Arc2Earth, CartoDB, GIS Cloud, etc. vector data in a Leaflet map
http://jasonsanford.github.io/leaflet-vector-layers
BSD 2-Clause "Simplified" License
216 stars 61 forks source link

Add Support for OutCRS option #56

Open elesdoar opened 11 years ago

elesdoar commented 11 years ago

In the file AGS.js

Add before the line 223:

var outSR = this.options.outSR || '4326';

Change the line 225:

"&outSR=4326" + // receive geometry in WGS 84 Lat/Lng.

For:

"&outSR=" + outSR + // receive geometry by default WGS 84 Lat/Lng.