POST
|
That's odd. Perhaps I have accidentally turned off/on some feature in Firefox settings that is messing with the console output. I checked the same thing in Chrome console and it was showing the data as expected. Not sure how I messed up Firefox though.
... View more
04-19-2018
09:17 PM
|
0
|
1
|
912
|
POST
|
I'm using the following code (v 4.6) to geocode an address: var locatorTask = new Locator({ url: "https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer" }); var addressParams = { "singleLine": "915 I St, Sacramento, CA" }; locatorTask.addressToLocations({address:addressParams}).then(function(response){ console.log(response); }); This is what I'm getting in the browser console: What I'm missing here? I should be getting Same URL used in browser address bar
... View more
04-19-2018
12:55 AM
|
0
|
4
|
1565
|
POST
|
Thanks Dan, Robert, and Joe for clearing that out. It makes sense now.
... View more
01-11-2018
08:53 PM
|
0
|
0
|
1201
|
POST
|
Let's say I search for an address on Google and I get its latitude and longitude values as // Google Maps
57.44352239876 // lat
-133.8994923441 // long If I search for the same address on ESRI maps, I get the values as // ESRI
-133.8994923441 // lat
57.44352239876 // long If that is indeed the case, why is it so? Or is my assumption of those two being opposite is wrong?
... View more
01-10-2018
08:17 PM
|
0
|
5
|
2173
|
POST
|
Oh, my bad! Don't know how I missed the version number.
... View more
01-10-2018
08:07 PM
|
0
|
0
|
1932
|
POST
|
I have a view which uses a webmap instance. According to the documentation, MapView can leverage the when() function to indicate that the view is ready to be manipulated. But I'm getting a "view.when is not a function" error in browser console. The code I'm using is: var webmap = new WebMap({
portalItem: {
id: "<some long id>"
}
});
var view = new MapView({
map: webmap,
container: "esriMap"
});
view.when(function(){ // this line is throwing the error
}, function(error){
alert(error.message);
}); I'm using ESRI Javascript v4.5 API. What am I missing here?
... View more
01-10-2018
03:40 AM
|
0
|
2
|
3147
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|