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

杨华杰 yhjhoo at gmail.com
Wed Jan 23 06:11:50 PST 2013


Hi Alexandre

Thank you, I will try this.


Regards,
Hua Jie


On Wed, Jan 23, 2013 at 10:01 PM, Alexandre Dubé <adube at mapgears.com> wrote:

>  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 listUsers at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>
>
> --
> Alexandre Dubé
> Mapgearswww.mapgears.com
>
>
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20130123/3f41d29a/attachment.html>


More information about the Users mailing list