Friday, April 14, 2023

ArcGIS Developer Account "Hello World"

I just signed up for an ArcGIS developer account here. I'm working with the javascript developer SDK, and found some issues with the example code found in the edit api link tab

The edit api page has a sample html / javascript code that you can put on your server to display a "Hello World" type application that displays a map.


I had some issues, which I've noted above

  • The api key needs to be surrounded in quotes
  • The first time I loaded the page, I got a bunch of errors because I didn't expand the bottom section before I copied the code out of the editor with the "copy" button
Once I fixed these issues, I got a pretty map of highway 1 in Malibu.  Hooray!