Hi Bart,
Thanks. I'm trying like that:
var style_arrows = new OpenLayers.StyleMap({
'default': OpenLayers.Util.extend({
orientation: true
}, OpenLayers.Feature.Vector.style['default']),
'temporary': OpenLayers.Util.extend({
orientation: true
}, OpenLayers.Feature.Vector.style['temporary'])
});
var test = new OpenLayers.Layer.Vector("test", {
strategies : [new
OpenLayers.Strategy.BBOX()],
renderers: ['SVGExtended',
'VMLExtended', 'CanvasExtended'],
styleMap : style_arrows,
isBaseLayer : false,
visibility : false,
protocol : wfs
});
But I get 'browserNotSupported' with no clue on firebug....
Em 12-09-2014 13:20, Bart van den Eijnden escreveu:
I think this is a good example by Pierre Giraud (however it’s broken
because of the openlayers 2 url changes, but try it on a local copy
instead):
http://bl.ocks.org/pgiraud/6131715
Best regards,
Bart
Bart van den Eijnden
Front End Software Engineer | Boundless <http://boundlessgeo.com/>
bart...@boundlessgeo.com <mailto:bart...@boundlessgeo.com>
1-877-673-6436 <tel:917-460-7207>
@boundlessgeo <http://twitter.com/boundlessgeo/>
<http://boundlessgeo.com>
On 12 Sep 2014, at 14:11, Pedro Costa <pedrocostaa...@sapo.pt
<mailto:pedrocostaa...@sapo.pt>> wrote:
Hi guys,
I am trying to draw lines with directions (arrows) and after search i
am a little bit confused.
Can anyone help me with more information or explain to me what is the
better way to do this?
Thanks
_______________________________________________
Users mailing list
us...@lists.osgeo.org <mailto:us...@lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users