Utente anonimo  |  Autenticati  |  Crea un Account
Mensaje dentro Bugs and Improvements

You need to set the GoogleMaps API Key

Rispondi 
#1 - 16/03/2012 19.48.22 Reporta abuso | Link permanente
elevata
Fecha de registro: 15/03/2012
3 posts en todos los foros
You need to set the GoogleMaps API Key

Rispondi Quota
Olá, estou tendo problema ao usar a dll de vocês. Já registrei a mais de uma chave no "http://www.google.com/apis/maps/" e sempre continua dando o mesmo erro.

Conforme podem ver no stack trace o problema é na DLL de vocês:
[Exception: You need to set the GoogleMaps API Key on http://www.google.com/apis/maps/] Subgurim.Controles.BaseGMap.EnsureGoogleKey() +175 Subgurim.Controles.GMap.BuildManager() +60 Subgurim.Controles.GMap.Render(HtmlTextWriter output) +229 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
.......

Aguardo solução pois tenho que colocar em produção o mais rápido possível (aliás esse ser o motivo de optarmos por comprar).
Vai avanti

Risposte
De en 15
#2 - 21/03/2012 14.38.31 Reporta abuso | Link permanente
subgurim
Fecha de registro: 18/10/2006
2002 posts en todos los foros
RE: You need to set the GoogleMaps API Key

Rispondi Quota
Por favor, prueba a configurar las 2 key en el web.config
Saludos.
Vai avanti

#3 - 20/03/2012 21.03.19 Reporta abuso | Link permanente
elevata
Fecha de registro: 15/03/2012
3 posts en todos los foros
RE: You need to set the GoogleMaps API Key

Rispondi Quota
Nossa chave é comercial e está de acordo com o exemplo:
http://googlemaps.subgurim.net/ejemplos/ejemplo_10000_CommercialKey.aspx

Colocamos no aspx:
<cc1:GMap ID="GoogleMaps" CommercialKey="*********" runat="server" Width="100%" Height="700px"></cc1:GMap>

E colocamos no aspx.cs:
private string apiKey = "**********";
GoogleMaps.CommercialKey = apiKey;

Nenhuma das formas funcionou.
 
Vai avanti

#4 - 20/03/2012 20.52.40 Reporta abuso | Link permanente
subgurim
Fecha de registro: 18/10/2006
2002 posts en todos los foros
RE: You need to set the GoogleMaps API Key

Rispondi Quota
Hola,

Por favor, confírmame que diste de alta correctamente las dos claves:
1.- http://googlemaps.subgurim.net/ejemplos/ejemplo_1000_Clave-de-Google-o-Key-.aspx.
2- http://googlemaps.subgurim.net/ejemplos/ejemplo_10000_CommercialKey.aspx

Saludos
Vai avanti
De en 15

Powered by Subgurim.NET