Commit 9e752d44049dfe14298519d5173bd8f17c9db0ed
1 parent
149997e3
Exists in
master
and in
7 other branches
Inclusão de mensagem sobre a API do google maps na ferramenta de navegação GoogleMaps
Showing
2 changed files
with
4 additions
and
1 deletions
Show diff stats
ferramentas/googlemaps1/index.js
| ... | ... | @@ -53,6 +53,9 @@ $i = function(id){ |
| 53 | 53 | return window.parent.document.getElementById(id); |
| 54 | 54 | }; |
| 55 | 55 | function inicializa(){ |
| 56 | + if(i3GEO.parametros.googleApiKey == ""){ | |
| 57 | + i3GEO.janela.tempoMsg("Essa instalação do i3Geo não possuí uma chave da API do GoogleMaps. Algumas operações podem ficar bloqueadas."); | |
| 58 | + } | |
| 56 | 59 | counterClick = 0; |
| 57 | 60 | var m = document.getElementById("mapa"), |
| 58 | 61 | nz = 8, | ... | ... |
ferramentas/googlemaps1/index.php
| ... | ... | @@ -5,7 +5,7 @@ verificaBlFerramentas(basename(dirname(__FILE__)),$i3geoBlFerramentas,false); |
| 5 | 5 | ?> |
| 6 | 6 | <html> |
| 7 | 7 | <head> |
| 8 | -<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false&key="<?php echo $googleApiKey; ?>></script> | |
| 8 | +<script type="text/javascript" src="http://maps.google.com/maps/api/js?key=<?php echo $googleApiKey; ?>"></script> | |
| 9 | 9 | <script src="../../pacotes/cpaint/cpaint2.inc.compressed.js" type="text/javascript"></script> |
| 10 | 10 | <script src="index.js" type="text/javascript"></script> |
| 11 | 11 | ... | ... |