There's a free Visualforce version of Google Maps on the Salesforce
Appexchange ( http://sites.force.com/appexchange/ ) called "Salesforce
International Mapping using Google Maps" that you can use as an
example to follow. It can be found at
http://sites.force.com/appexchange/apex/listingDetail?listingId=a0N300000016d25EAA
.

On Apr 21, 4:39 pm, "[email protected]" <[email protected]>
wrote:
> On Apr 21, 8:25 am, SF_Newbie <[email protected]> wrote:
>
> > OK All
> > I'm sure I'm just being daft here so I'll appologise in advance
>
> > We're working with SalesForce and I'm in a Developer acct
>
> > Here's my error msg
>
> > The Google Maps API key used on this web site was registered for a
> > different web site. You can generate a new key for this web site 
> > athttp://code.google.com/apis/maps/.
>
> > Now I've generated myself a Google Maps API key using
>
> >https://na6.salesforce.com/
>
> You should be able to use a key for salesforce.com (I don't know how
> the https:// will play out, I don't use secure pages)
>
>
>
>
>
> > The page I generated has the following URL
>
> >https://na6.salesforce.com/apex/Google_Page?sfdc.tabName=01r80000000Fvzl
>
> > The code for the page is as follows
>
> > <apex:page >
> > <html xmlns="http://www.w3.org/1999/xhtml";>
> >   <head>
> >     <meta http-equiv="content-type" content="text/html; charset=utf-8"/
>
> >     <title>Google Maps JavaScript API Example</title>
> >     <script src="http://maps.google.com/maps?
> > file=api&amp;v=2&amp;sensor=true_or_false&amp;key=ABQIAAAA8f0frnZd5eaEpk3Vl­fvtiRTP-
> > nQO30TV4MerbYT8p0gD9BDdlBTqYiHXzxUcke-VzgNc9prgM_TtJg"
> >             type="text/javascript"></script>
> >     <script type="text/javascript">
>
> >     function initialize() {
> >       if (GBrowserIsCompatible()) {
> >         var map = new GMap2(document.getElementById("map_canvas"));
> >         map.setCenter(new GLatLng(37.4419, -122.1419), 13);
> >         map.setUIToDefault();
> >       }
> >     }
>
> >     </script>
> >   </head>
> >   <body onload="initialize()" onunload="GUnload()">
> >     <div id="map_canvas" style="width: 500px; height: 300px"></div>
> >   </body>
> > </html>
> > </apex:page>
>
> > Has anyone got any idea why this is happening?
>
> Did you investigate any of these previous 
> threads?http://groups.google.com/group/Google-Maps-API/search?group=Google-Ma...
>
>   -- Larry
>
>
>
> > Thx in advance

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to