Pietschey,

First, you may want to check your initialize() function, as the
map.disableDoubleClickZoom is missing the parenthesis, which means
double-click-zooming is still enabled...

instead of: map.disableDoubleClickZoom;
try map.disableDoubleClickZoom();

Now, about your question. I'm not sure I understand the precise logic
behind what you are trying to accomplish. Your example is not clear. I
am confident that I could help you if I could understand the logic
needed. Please try to be a bit more precise in your example.

Specifically, what is confusing is it almost seems like you want to
turn Marker 1 red for the first time-frame, then marker 2 red for the
second time-frame, but then for the third time-frame it gets confusing
with the so..on, because I still don't see the exact pattern for sure.
try being very specific and expanding the pattern out for a couple
more iterations.

Also, I checked your code very carefully, but I don't see a date
anywhere in the data. Are you going to be loading a JSON or XML
dataset and looping through adding these markers? If not, then just
set the colors in your code directly. However, if looping then perhaps
providing an example of your data might also help.



Thanks,
Terry




On Jul 19, 7:27 am, Pietschey <[email protected]> wrote:
> Hello,
>
> i try to find a possibility to change the marker depending on the time/
> date. I have several fixed markers in my map. Depending on the date a
> marker should have a special color/markertype.
>
> Example:
> - from  2009-07-19 to 2009-07-20 marker1 should have markeroptions_red
> - in this time frame all the other existing markers (marker2-marker7)
> should have markeroptions_blue
> - from 2009-07-21 to 2009-07-22 marker 2 should have
> markeroptions_red
> - then, marker1 and marker3-marker7 should have markeroptions_blue
> - and so on...
>
> url:www.starzonek.info/7.html
>
> Can anybody help me to implement this functionality???
>
> Thanks in advance, Peter

--~--~---------~--~----~------------~-------~--~----~
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