Hi,
for me it is exactly the same.
The code:
var polyline = new GPolyline([
new GLatLng(37.4419, -122.1419),
new GLatLng(37.4519, -122.1519)
]);
polyline.setStrokeStyle({color:"#ff0000"});
map.addOverlay(polyline);
Examples:
Api v=2, line red, as it should be:
http://sandbox.zserver.de/polyline.php?v=2
Api v=2.x, line blue, should be red:
http://sandbox.zserver.de/polyline.php?v=2.x
Regards,
Markus
On Jan 26, 2:38 pm, Didier <[email protected]> wrote:
> Sorry, here is it
> :http://server-01.technolia.fr/statiogestion/guidage/temp.php
> Didier
>
> On 23 jan, 20:53, "warden [Andrew Leach - Maps API Guru]"
>
> <[email protected]> wrote:
> > On Jan 23, 2:25 pm, Didier <[email protected]> wrote:
>
> > > Hi all,
> > > I think I found a bug in latest version : I can't usesetStrokeStyle
> > > on a Gpolyline with version 2.x, and I just have to change version to
> > > 2 to make it work fine.
>
> > Didier, as discussed before, PLEASE put together a demonstrator page.
> > Yes, anyone could do that given the information you've posted here,
> > but you've posted it.
>
> > Demonstrator pages should include only the function which gives the
> > error: in this case, a map with apolylineand .setStrokeStyle().
>
> > Andrew
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---