[OpenLayers-Users] Re: strokeDashstyle options

takakot takako.tucker at bbc.co.uk
Fri Dec 2 10:32:20 EST 2011


So, I've now got this

////////////////////

            var route = new OpenLayers.Layer.Route( 'Test route',  {
					
			

                    style: {

                        strokeColor: "#000",
                        strokeOpacity: 0.8,
                        strokeWidth: 5,
                        pointRadius: 0,
			strokeLinecap : "square",
                        strokeDashstyle: "3 8"

						
                    }
					
		});


////////////////////

and works fine in Firefox, but not quite in IE. The line is too thin in IE
and also the pitch is too large in between dashes...
I guess it's not easy to workround, but any suggestions would be much
appreciated... 

Thanks
					

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/strokeDashstyle-options-tp7043401p7055064.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list