How to set it before constructing a WebMapLocation I can’t figure out !? Maybe create one, then set APIKey and use MoveTo for all subsequent locations.
doh. Looks like you can create a WebMapLocation without parameters even though that’s not listed in the Constructors.
You’ll get a NOE from the request with a message of request_denied. I’ve filed a report, but it’s private due to including my api key. Greg has confirmed the issue.
Anyway, thank to you all for your help and feedback. If anyone can think of a working work-a-round, I am interrested. Meanwhile I will search myself too for a work-a-round.
This is the class I built to get the latitude & longitude for an address. You use it by creating an instance, applying your google api key then setting the address property. It will respond by firing the location event with the geometry data from Google Maps.