Skip to content

Commit

Permalink
replace geocoder widget with ESRI search widget.
Browse files Browse the repository at this point in the history
ESRI geocoder widget has been deprecated.
NOTE: right-click menu is no longer implemented with this change.

moved geocoder to over the map and collapsed by default. mobile-first!
  • Loading branch information
tmcgee committed Dec 16, 2015
1 parent 1d8ab3d commit 29bb313
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions viewer/js/config/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,19 +228,15 @@ define([
},
geocoder: {
include: true,
id: 'geocoder',
type: 'domNode',
path: 'gis/dijit/Geocoder',
srcNodeRef: 'geocodeDijit',
path: 'esri/dijit/Search',
srcNodeRef: 'geocoderButton',
options: {
map: true,
mapRightClickMenu: true,
geocoderOptions: {
autoComplete: true,
arcgisGeocoder: {
placeholder: 'Enter an address or place'
}
}
visible: true,
enableInfoWindow: false,
enableButtonMode: true,
expanded: false
}
},
identify: {
Expand Down

0 comments on commit 29bb313

Please sign in to comment.