Please link to your image. We can't help if we can't access 'dd-startl.png'.

Also, ensure sure you read the docs on constructing a MarkerImage:
http://code.google.com/apis/maps/documentation/javascript/reference.html#MarkerImage

On Wed, Jan 5, 2011 at 6:01 AM, Nico Oudshoorn <[email protected]> wrote:

> 1)
> var iconvt = new google.maps.MarkerImage('dd-startl.png',
>  new google.maps.Size(34, 20),
>  new google.maps.Point(34,9),
>  new google.maps.Point(9, 0)
> );
>
> 2)
> var iconvt = 'dd-startl.png',
> With definition 1 I don't get a marker on the map and with definition 2 I
> do. If I give definition 1 without the size and point parameters I get a
> marker as well. But I want the size and point parameters. What do I do
> wromg?
>
> vtmarker = new google.maps.Marker({
>       position: vtpoint,
>   title: vttitel,
>   map: map,
>   icon: iconvt,
>   draggable: true
>  });
>
> --
> 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.

Reply via email to