Hello Martin,

Sorry to bother you with this again.
But there seems to be a problem.

Copied your code from  
http://code.martinpearman.co.uk/www.zeelandwijzer.nl/testkaart.html
and changed the Google key and GdownloadUrl.
==================================================================

Your copied code at  http://www.zeelandwijzer.nl/kaart/testkaart2.html
gives 2 errors (and a blank screen).

Fout: setCookie is not defined
Bron bestand: http://www.zeelandwijzer.nl/kaart/testkaart2.html
Regel: 1
 ----------
Fout: bits[4] is undefined
Bron bestand: http://www.zeelandwijzer.nl/kaart/testkaart2.html
Regel: 138

FF 3.6 and IE 8 gives : Google maps API not compatible with this
browser.
After clicking OK: gives blank screen

===================================================================

Tried your map at 
http://code.martinpearman.co.uk/www.zeelandwijzer.nl/testkaart.html
,
FF works fine but IE 8 gives error:
Google maps API not compatible with this browser.
After clicking OK: gives map without sidebar and markers

===================================================================

My previous maps like http://www.zeelandwijzer.nl/kaart/camping.html
works fine in FF 3.6 and IE 8

Am at a lost because of the different behouver between FF3.6 and IE 8.
Have cleart the cache severall times no good.

Thamks for your troubles in advance,

Erwin







On 8 mrt, 06:16, Martin <warwo...@gmail.com> wrote:
> Take a look here:
>
> http://code.martinpearman.co.uk/www.zeelandwijzer.nl/testkaart.html
>
> I've commented the changes i made in the code - don't forget to change
> the API key and path to the XML back to your original values.
>
> Martin.
>
> On 7 Mar, 19:22, fenacol <fena...@hotmail.com> wrote:
>
> > Thanks Martin,
>
> > See what you mean, and understand the principle, but am not good at
> > making code from scradge.
> > Do you or somebody else know of a excample somewhere.
> > If i see the code or snippits of it i know where to go from there.
>
> > As i undertand it: Need to collect every marker click and store that
> > id, do i have to update the cookie every time they click or all of
> > them at exit.
> >                           or
> >                           Is it simpler to collect all the marker
> > images at exit, or wil that give a bloated cookie (300 markers), my
> > markers won't change much so
> >                           if they return i can load them all from the
> > cookie.
>
> > Wander why there there are no maps with that function around,
> > if a map has a lot of markers it is likely that visitors don't have
> > clickt on every marker when they return.
>
> > Thanks in advance
>
> >    Erwin
>
> > On 7 mrt, 07:46, Martin <warwo...@gmail.com> wrote:
>
> > > If your markers each have and will always have a unique id then save
> > > the id of visited markers in the cookie as a delimited string.
>
> > > Use the comma character for example:
>
> > > 260,314,621
>
> > > Get that string, split it and use parseInt() to convert each bit to an
> > > integer.
> > > Create an array to store those ids of markers that have been visited.
>
> > > Use that array to determine what icon image to use for a marker when
> > > the marker is created.
>
> > > Martin.
>
> > > On 6 Mar, 18:43, fenacol <fena...@hotmail.com> wrote:
>
> > > > Hello all,
>
> > > > I have put a cookie function on my map at  
> > > > http://www.zeelandwijzer.nl/kaart/testkaart.html
> > > > The cookie stores lat,lng,zoom and maptype.
> > > > Also put setimage on my map so visitors can see witch markers they
> > > > have clicked.
>
> > > > Found the information in the group, thanks for that.
>
> > > > But now i would like to store the marker.setimage data in the same
> > > > cookie, so when they
> > > > revisit the map they not only return to the same point on the map but
> > > > also see the (grey)
> > > > markers the have previously clickt on.
>
> > > > Cannot find anything about storing setimage data in a cookie.
>
> > > > Thanks for your time in advance,
>
> > > > Erwin

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to google-maps-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to