Tuesday 15 May 2012

javascript - How to move OpenLayers Vector programmatically? -


The API documentation says that vector does not have any method.

I know how to move the vector by adding controls to the user to go. Therefore, if the user can move the vector, then the program should be a method of transferring it to B. But I can not understand how to do it.

Object, moving not into vector, move, resize, shape and transform these methods.

Note that you will not find any method defined on the OpenLayers.Geometry base object, but note only on the proper object (note that there are many levels of legacy in Open Layers geometry) is a good example.

You can find a great example of progressing open-layer vectors programmatically.


No comments:

Post a Comment