Yeah, if you know what to look for, which I didn't really.
However, I'm going insane here, because I just cant get it to work...
At first I got loads of errors like I didnt close the arguments with an ),
which I fixed by using setContent({ content: "text" });
Which is weird, because the documentation doesnt mention that the use of {
} brackets is required...
I also sometimes get this error:
> Fout: Ongeldige waarde voor eigenschap <content>: [object Object]
> Bronbestand:
> http://maps.gstatic.com/cat_js/intl/nl_ALL/mapfiles/api-3/7/0/%7Bmain,geometry%7D.js
> Regel: 28
>
That makes no sense at all, because my content is set up properly?
Atleast, I think so.
An example of the generated script can be:
infowindow4.setContent({ content: 'Wow, no bail, hij draait nu letterlijk de
bak in.....gewoon tussen de inmates hoop ik, waar hij hoort, tussen de fellow
moordenaars!!' });
> marker4.setPosition(51.575180,5.066711);
> marker4.setTitle({title: 'saskiatijger'});
>
> or
> infowindow1.setContent({ content: '<a
> href=\"http://www.twitter.com/N_ickster\
> <view-source:http://lyxdesign.nl/school/WebApp/%5C%22http://www.twitter.com/N_ickster%5C>"
> target=\"_blank\">@N_ickster</a> Dat dacht ik al ;-)' });
> marker1.setPosition(51.586412,4.987198);
> marker1.setTitle({title: 'jackyraimond'});
>
> An example page of the generated script:
> http://bit.ly/s5sYMh
>
Perhaps you can see something that is wrong?
The markers just won't move or change content...
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-maps-js-api-v3/-/deuKB6R1GhIJ.
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-js-api-v3?hl=en.