Lots of ways to do this. Here's one way:
var marker = new google.maps.Marker({
map: map,
icon: 'cross.png'
});
marker.bindTo('position', map, 'center');
You could also probably do this with a KML screen overlay (though I am not
100% familiar with KML).
Chris
On Mon, Oct 18, 2010 at 11:21 PM, Jurgis Stepanovs <
[email protected]> wrote:
>
> I need solution how to draw a cross in Javascript API at map center,
> and update it
> when ever map bounds, and zoom changes?
>
> I need to hold cross at map center on refresh and all other map
> events.
>
> Jurgis
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-maps-js-api-v3%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.