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.
Looks like its a Firefox (129.0.1 (64-bit)) Issue Changed my default browser to Edge then Chrome both of those worked with both your Sample project and my test project. Your sample project did not work in my version of Firefox got the same error “lexical error: invalid char in json text.”. Further testing I’m getting this on both OSX and windows 11 when using Firefox other browsers are fine.