On Apr 8, 10:11 am, "[email protected]" <[email protected]>
wrote:
> On Apr 8, 9:41 am, marcoow <[email protected]> wrote:
>
> > Yes, that's just the usual error when you use a key that's not
> > registered for the domain. However, that doesn't really mean anything
> > usually. I'm pretty sure that's not causing the error. If Google Maps
> > intentionally fails if no valid key is used, it wouldn't work in other
> > browsers (which it does) and you would never be able to develop map
> > applications locally (you would not get a key for localhost).
>
> You shouldn't get the key error and then get a working map. What that
> means is you are including the API javascript with either no key or an
> invalid key once and including it correctly once.
>
> I see your custom icon appear (a red marker with the letter A), then a
> normal default marker gets put on top of it (when I copy your page
> locally so I don't have to deal with the key error).
>
If I reduce your css to:
<style media="screen" type="text/css">
html{background:#fff;}
.map{
float:right;
padding:5px 8px 0 0;
}
#map {
width: 319px;
height: 212px;
}
</style>
It works for me (in IE6).
>
>
>
>
> > On 8 Apr., 18:35, "[email protected]" <[email protected]> wrote:
>
> > > On Apr 8, 8:33 am, marcoow <[email protected]> wrote:
>
> > > > Alright, see your point ;)
>
> > > > Sample is here:
>
> > > >http://dev.simplabs.com/test/test.html
>
> > > You need to get a key for that site and put it in that map so we can
> > > see it in action. I currently get a key error when I try to look at
> > > the map.
>
> > > > I stripped everything except for the map part and it still does now
> > > > work in IE:
>
> > > > On 8 Apr., 15:45, "[email protected]" <[email protected]> wrote:
>
> > > > > On Apr 8, 4:53 am, marcoow <[email protected]> wrote:
>
> > > > > > Those are just snippts from my source file. See the complete file
> > > > > > here
> > > > > > (class Map at the very end):http://gist.github.com/91739
>
> > > > > > Can't post a link to the complete site, it's still in development
> > > > > > and
> > > > > > my customer won't allow me to publish it.
>
> > > > > You are doing something wrong. I'm from Missouri, show me that it
> > > > > doesn't work, and I might investigate why.
>
> > > > > You are the one being paid to fix it. If you want help, help us to
> > > > > help you. Make a sample map that shows the problem but removes all
> > > > > your customer's information, post it on a different site and give a
> > > > > link to it. Doing that might even help you solve it yourself.
>
> > > > > -- Larry
>
> > > > > > Thanks,
> > > > > > Marco
>
> > > > > > On 8 Apr., 11:33, Andrew Leach <[email protected]>
> > > > > > wrote:
>
> > > > > > > On Apr 8, 9:48 am, marcoow <[email protected]> wrote:
>
> > > > > > > > Could anybody help? I really hav no idea what the problem is. I
> > > > > > > > think
> > > > > > > > it's essentially the same code as in the Google Maps example
> > > > > > > > (which
> > > > > > > > works):
>
> > > > > > > It's nothing like it! The word "this" doesn't appear in the
> > > > > > > example at
> > > > > > > all. What is "this"? And the comma right at the end of your code
> > > > > > > snippet could be a problem, depending on what comes after it.
>
> > > > > > > Please give a link. Code snippets out of context don't really
> > > > > > > help.
> > > > > > > (Which is what it says in the posting guidelines)
>
> > > > > > > Andrew- Hide quoted text -
>
> > > > - Show quoted text -- 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
-~----------~----~----~----~------~----~------~--~---