BrianBunker / cmv-widgets

Widgets based on the Esri jsapi, configured for the Configurable Map Viewer. Widgets include Drag and Drop, Goto, Map Navigation Hash, and Nearby.
https://brianbunker.github.com/cmv-widgets
MIT License
18 stars 24 forks source link

Update Nearby.js #27

Closed darinatch closed 8 years ago

darinatch commented 8 years ago

If the map's coordinate system is projected, the creating of the buffer circle fails if geodesic = true. The proposed changes allow this setting to be configured in the Nearby widget setting in viewer.js like this: nearby: { include: true, id: 'nearby', type: 'titlePane', canFloat: true, position: 3, path: 'gis/dijit/Nearby', title: 'Find Nearby', options: { map: true, mapClickMode: true, isMapSRProjected: true }

BrianBunker commented 8 years ago

@darinatch Great! We need to add this to the README.md. As soon as it's added, I'll merge the PR.