AnsweredAssumed Answered

searchExtent for  Geocoder of arcgis api javascript  do not work for me

Question asked by thiankoye on Oct 22, 2014
Latest reply on Oct 27, 2014 by jskinner-esristaff

Hello every one ,

Is it possible restrict an address search to a specific map extent or a place  with dijit Geocoder ?

i have the following code but can not work


var geocoder =  new Geocoder({

        arcgisGeocoder: {

        placeholder: "Entrer Votre Adreesse"


        autoComplete: true,


        map: map,

        searchExtent:initialExtent     // The extent of my study area (Casablanca in my Case).

        }, dom.byId("search"));


thanks in adavnce for any help