On Mar 23, 3:28 pm, "[email protected]" <[email protected]> wrote: > i keep getting this message on my map : Maps API Key used on this > website was registered for a different website"
Assuming that you have specified the key for 24.11.76.13:81, something else is going wrong. I have a feeling that things are being confused by your invalid HTML. Does VS really allow you to do that? Different browsers react in different ways to incorrect code. You need a structure of <!DOCTYPE> <HTML> <HEAD> ... </HEAD> <BODY> ... </BODY> </HTML> In particular, you can only have one Head and one Body; they cannot be nested; and nothing can appear outside the elements I've listed here -- you can have other content only where the ... are. Getting an error message and then a map usually indicates that you are loading the API twice, once incorrectly and once correctly (for example, one might have a wrong key). I can't find two calls to the API script. If you get your HTML right it might go away, but it will certainly be easier to see what's going on. Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
