Created
July 1, 2022 18:34
-
-
Save gavinr/c934c9c66f584ee4dd1e312645201857 to your computer and use it in GitHub Desktop.
for esri blog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
view.watch("center", (center) => { | |
const { latitude, longitude } = center; | |
centerText = `Center: Lat: ${latitude.toFixed(4)} | Lon: ${longitude.toFixed(4)}`; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment