pass api key

This commit is contained in:
j 2017-06-09 09:34:41 +02:00
commit ac1a567fa4
3 changed files with 3 additions and 0 deletions

View file

@ -122,6 +122,7 @@ pandora.ui.navigationView = function(type, videoRatio) {
that.replaceElement(0,
$element = Ox.Map({
apiKey: pandora.site.site.googleapikey,
// clickable: pandora.site.capabilities.canClickMap[pandora.user.level],
find: ui.mapFind,
// 20 px menu + 24 px toolbar + 1px resizbar + 16px statusbar (if !item)

View file

@ -13,6 +13,7 @@ pandora.ui.placesDialog = function(options) {
callback(result);
});
},
apiKey: pandora.site.site.googleapikey,
editPlace: function(place, callback) {
pandora.api.editPlace(place, function(result) {
Ox.Request.clearCache(); // fixme: remove