Hello everybody.
I want to use the configurability to toggle between two API keys. So use two google maps with different keys in one skin. I want to switch the unused card invisible, but it does not work. It always uses the same key, whether I switch or not. Probably the key of the first map in the skin is used.
Greetings, Matthias
Switch between two Google API keys in one skin
Hi everyone.
No ideas ...a great pity.
The reason for my request:
I want to use the same skin for development, local tests and the final result on the web server.
No ideas ...a great pity.
The reason for my request:
I want to use the same skin for development, local tests and the final result on the web server.
- Hopki
- Gnome
- Posts: 13029
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi,
If you use a custom Google Map you can add a Google API key for that map.
If you have a Map element in the skin with its own API key, it will not be used as the custom maps API will be used instead.
But note you cannot switch an API key, as an example if you created two custom Google Maps each with their own API key, the map you open first is the API key that will be used.
Regards,
Hopki
If you use a custom Google Map you can add a Google API key for that map.
If you have a Map element in the skin with its own API key, it will not be used as the custom maps API will be used instead.
But note you cannot switch an API key, as an example if you created two custom Google Maps each with their own API key, the map you open first is the API key that will be used.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Hi Hopki,
thanks for your reply.
Anderstand ... It is not possible to use two maps with different keys in a skin.
I have to find another way.
Regards,
Matthias
thanks for your reply.
Anderstand ... It is not possible to use two maps with different keys in a skin.
I have to find another way.
Regards,
Matthias