Hi,

Thanks for the response.

I have included the library.  Actually, that was an earlier error which I
managed to locate and fix.

Having fiddled with the code a bit, I managed to get it working.  The
non-working code looked like this:
<pre>
var mapLabel0 = new MapLabel('Abfahrt Rotterdam',
        new google.maps.LatLng(51.9068430293818,4.48724985122681), {
          map: map,
          fontSize: 12});
</pre>

When I changed it to this

<pre>

var mapLabel0 = new MapLabel({text: 'Abfahrt\nRotterdam',
position: new google.maps.LatLng(51.9068430293818,4.48724985122681),
  map: map,    fontSize: 9,    fontColor: '#ffffff',    strokeWeight:
1,     align: 'left'});

</pre>

I also posted this on stackoverflow because (after having posted the
question) I read that technical discussions are being moved there.


Regards
MK


On 19 February 2013 12:06, Rossko <ros...@culzean.clara.co.uk> wrote:

>  Have you included the MapLabel library?  It only works in Canvas capable
> browsers.  A link to the failing webpage would provide full context.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-maps-js-api-v3+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-maps-js-api-v3@googlegroups.com.
> Visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-maps-js-api-v3+unsubscr...@googlegroups.com.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
Visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to