Hi
now i change like this:
 <script src="http://maps.google.com/maps?
file=api&amp;v=2&amp;sensor=false&amp;key=ABQIAAAAB6c8iO0GY3soio1og-
JEXRS4IaaRs_pAnXppBdBowQOxuZ_ELRRTj6za_XNHvNXVOzk7-fh1lQKphA"
type="text/javascript"></script>

still getting the error message.



On Jul 2, 10:02 am, "[email protected]" <[email protected]>
wrote:
> On Jul 1, 6:42 pm, Samveera <[email protected]> wrote:
>
> > HI,
> > i got key forhttp://www.atssms.com.sg
> > now i am using the google map in my inner page like maptest.aspx.
> > this is the innerpage URL:http://www.atssms.com.sg/maptest.aspx
> > but i am getting error like "Google Maps API server rejected your
> > request. This could be because
> > the API Key used on this site was registered for a different web site.
> > You can generate a new key for this web site 
> > athttp://code.google.com/apis/maps";
> > .
> > pls anyone guide me?
>
> You have whitespace (an a line feed) in the key url.
>
>     <script src="http://maps.google.com/maps?file=api&v=2&;
>          key=ABQIAAAAB6c8iO0GY3soio1og-
> JEXRS4IaaRs_pAnXppBdBowQOxuZ_ELRRTj6za_XNHvNXVOzk7-fh1lQKphA"
> type="text/javascript"></script>
>
> While it may look nice, that is not a valid URL, try removing the line
> feed and whitespace.
>
> PS - you are also missing the soon to be mandatory sensor parameter,
> that shouldn't cause a problem now, but may at some time in the
> future.
>
>   -- Larry
>
>
>
>
>
> > On Jun 29, 6:38 pm, Andrew Leach <[email protected]>
> > wrote:
>
> > > On Jun 29, 9:43 am, Samveera <[email protected]> wrote:
>
> > > > Dear support,
>
> > > > This is anand M, i am new to google map, and i want to implement the
> > > > map into my website. and i  registered my url and got a API key from
> > > > google. how to use the key in my website. when i try this i am getting
> > > > error message like
>
> > > > " You need to set the GoogleMaps API Key 
> > > > onhttp://www.google.com/apis/maps/";.
>
> > > > please guide me how to solve this issue.
>
> > > You need to follow the documentation about how to include the key and
> > > the sensor parameter. If you need help, please provide a link to your
> > > map.
>
> > > > i want to use singapore map in my site. how should i configure? can
> > > > you provide me any sample code in vb.net.
>
> > > The API is a client-side Javascript API. Output the Javascript you
> > > need the browser to receive and execute. For Singapore, something like
> > > this -- which is Javascript --
> > >   map.setCenter(new GLatLng(1.352083,103.819836),11)
> > > might suffice. You may need to change the zoom level (11) depending on
> > > the size of your map.
>
> > > Andrew- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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