[OpenLayers-Users] How to draw a arrow with openlayer?

Alexandre Dubé adube at mapgears.com
Wed Jan 23 06:01:36 PST 2013


Hi Hua Jie,

You could try to define your own arrow symbol. There's one defined
[here], see line 1 :
OpenLayers.Renderer.symbol.arrow = [0,2, 1,0, 2,2, 1,0, 0,2]

I haven't tried it, but it could do the trick.

HTH,

Alexandre

[here]
http://code.google.com/p/rep-olnet/source/browse/trunk/Direction.js?r=61


On 13-01-23 07:09 AM, 杨华杰 wrote:
> Hi
>
> As the title
>
> I know how to draw a line, dot, polygon. But my customer need some
> directions on the map
>
>
> Regards,
> Hua Jie
>
>
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users


-- 
Alexandre Dubé
Mapgears
www.mapgears.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20130123/ef71e6eb/attachment.html>


More information about the Users mailing list