i don't see how what i posted isn't following the guidelines. I didnt' post the browser or OS because it is happening across all setups i can test on. windows xp, IE, Firefox and chrome. i didnt' post more than 5 lines of code and the code that i posted was the url i'm using.
regardless i've fixed the problem. it seems you need a separate key if you are using a subdomain. i.e. "foo.domain.com" needs a different key than "domain.com" On May 1, 10:29 am, Barry Hunter <[email protected]> wrote: > groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines > > but in the meantime, check the key is correct for the domain you are > deploying on. > > On 01/05/2009, hovercraft <[email protected]> wrote: > > > > > > > > > Hi There, > > > I'm trying to use a static map in my web application but i'm having > > some problems when the app is deployed to the server. The google map > > is embedded in a webpage. It works fine on my local computer and > > works ok some of the time on the development server but not usually. > > > Here is the code i use to embed the map: > > > <img alt="" src="http://maps.google.ca/staticmap?center=<%=longitude_ > > + "," + latitude_ > > %>&zoom=13&size=500x300&key=ABQIAAAAHw7Ets0ien63P41o- > > flS7hTm2pxyEHdzixwRU4bRYQTeFou3xBRe2FsI- > > jWJkDvYJRaABowUByky0w&maptype=hybrid&markers=<%=longitude_ + "," + > > latitude_ %>,red"/> > > > the values longitude_ and latitude_ are asp.net variables. > > -- > Barry > > -www.nearby.org.uk-www.geograph.org.uk-- 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 -~----------~----~----~----~------~----~------~--~---
