Using examples from the documentation I’m getting an odd error when creating a WebMapLocation.
Example 1 Works fine:
dim location1 as new WebMapLocation(38.8977, -77.0366, “TheWhiteHouse”)
Example 2 Crashes with an exception “lexical error: invalid char in json text.”
dim location2 As New WebMapLocation(“Fenway Park, Boston, MA”)
I’m I doing something wrong. Ive got this in a button for testing only thing in the app is the mapviewer and a button which calls the above code. So I’ve isolated everything. Tested with 2024R1 and 2024R2.
7 posts - 4 participants