I suspect the Polyline failure is something to do with working out the shortest way around the world between two points. The sample that works
http://wtp2.appspot.com/osdemo2.htm has a polyline vertices either side of the OS projection's central meridian. The projection docs state "Generally, you may use a projection for two cases: to create a map of the world, or to create a map of a local area. In the former case, you should ensure that your projection is also rectilinear and normal at all longitudes. Some projections (especially conic projections) may be "locally normal" (i.e. point north) but deviate from true north, for example, the further the map is positioned relative to some reference longitude. You may use such a projection locally, but be aware that the projection is necessarily imprecise and transformation errors will become increasingly apparently the further away from the reference longitude you deviate." UTM and UK OS are both Transverse Mercator projections so do not wrap around the world East to West (and are not used to wrap North to South either) so might be considered 'local area' projections. Perhaps there needs to be an attribute of the Projection that tells the the poly renderer that the projection is 'local' and does not wrap around the world. But then on the other hand I might have missed some other cause of this problem. -- 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.
