Hi Jonas- The Map properties must be set at initialization, that is noted here: http://code.google.com/apis/maps/documentation/flash/reference.html#Map
We use the key to determine whether we should honor your request for using the API, so we do not give any API functionality until the key is passed in. You can set the key in various places, detailed here: http://code.google.com/apis/maps/documentation/flash/basics.html#APIKeys - pamela On Wed, Aug 19, 2009 at 1:19 AM, Jonas<[email protected]> wrote: > > I have an application where I'm trying to generate a set of components > dynamically, all using Google Map objects. I'm not sure of how the API > key of the Google Map objects are set, because if they are generated > after application start, I'm not allowed to set the API key. I get the > following error: > > Main Thread (Suspended: Error: Configuration parameters can no longer > be changed) > BootstrapConfiguration/checkLocked [no source] > BootstrapConfiguration/set key [no source] > com.google.maps::Map/set key [no source] > > Why am I not allowed to set the API key during runtime? Where should i > preferably do this to avoid any complications? I haven't looked into > this very deep yet, so I might be missing something simple here... > > /Jonas > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-maps-api-for-flash?hl=en -~----------~----~----~----~------~----~------~--~---
