JSON from ArcGIS Server: spatialReference wkid : 102100 [number] candidates 0 address : 97301 [string] location x : -13692817.9706 [number] y : 5613666.2399 [number] score : 100 [number] attributes JSON from Esri's Geocode service: spatialReference wkid : 102100 [number] latestWkid : 3857 [number] locations 0 name : 97330, Corvallis, OR [string] extent xmin : -13728247.885804845 [number] ymin : 5549357.770796694 [number] xmax : -13717115.936725518 [number] ymax : 5564989.215078552 [number] feature geometry x : -13722681.804322762 [number] y : 5557170.2004600745 [number] attributes Score : 100 [number] Addr_Type : Postal [string] 1
Solved! Go to Solution.
{ "name" : "1233 SE Main St, Portland, OR, 97214", "extent" : { "xmin" : -13653815.11016134, "ymin" : 5702594.5923811821, "xmax" : -13653592.471179754, "ymax" : 5702912.3125919709 }, "feature" : { "geometry" : { "x" : -13653703.684547694, "y" : 5702753.3918946823 }, "attributes" : { "Score" : 100, "Addr_Type" : "StreetAddress" } } }
{ "address" : "1233 SE MAIN ST, Portland, 97214", "location" : { "x" : -13653654.8506, "y" : 5702774.4558999985 }, "score" : 100, "attributes" : {} }
dojo.connect(Geocoder, 'onSelect', function(results){ map.setLevel(12); });
{ "name" : "1233 SE Main St, Portland, OR, 97214", "extent" : { "xmin" : -13653815.11016134, "ymin" : 5702594.5923811821, "xmax" : -13653592.471179754, "ymax" : 5702912.3125919709 }, "feature" : { "geometry" : { "x" : -13653703.684547694, "y" : 5702753.3918946823 }, "attributes" : { "Score" : 100, "Addr_Type" : "StreetAddress" } } }
{ "address" : "1233 SE MAIN ST, Portland, 97214", "location" : { "x" : -13653654.8506, "y" : 5702774.4558999985 }, "score" : 100, "attributes" : {} }
dojo.connect(Geocoder, 'onSelect', function(results){ map.setLevel(12); });