You need to sign in to do that
Don't have an account?
Egui
Map key state not found in map - Visualforce + Google Map
Hi there,
I'm using Visualforce and Google Map API, the page used to work well but now I got an error : "Map key state not found in map. "
I'm using Google Map API v3 so it doesn't require an API key, so I suppose it's coming from the visualforce but
after hours searching the code and the web, I can't figure it out.
I'm using a customized version of Find Nearby AppExchange application.
A hand would be great.
Thanks for reading.
I think the "Map" being referred to in the error is some Apex Map Collection created by the Visual Force controller code. Somehow you're using the word "state" as a key to find an entry in the map, and there is no matching key/value pair with a key of "state" in the map.
You might be confusing Map (the geographical display) with an Apex Map which is a collection construct. That's why I mention this.
For more help I think you'd have to post code, etc.
Best, Steve.