ghettovoice / vuelayers

Web map Vue components with the power of OpenLayers
https://vuelayers.github.io/
MIT License
681 stars 230 forks source link

interaction-translate #401

Closed Shookk69 closed 3 years ago

Shookk69 commented 3 years ago

Hi ! Tell me plz how use vl-interaction-translate ?

"vuelayers": "^0.12.0-rc.19.1",

ghettovoice commented 3 years ago

Hello @Shookk69 , look at this demo https://jsfiddle.net/ghettovoice/wzms32nb/13/

Shookk69 commented 3 years ago

Thanks for the answer @ghettovoice, but https://jsfiddle.net/ghettovoice/wzms32nb/13/ use vl-interaction-select, I asked about vl-interaction-translate ) ( https://openlayers.org/en/latest/apidoc/module-ol_interaction_Translate.html )

ghettovoice commented 3 years ago

Sorry, I missed this. This is updated example https://jsfiddle.net/ghettovoice/wzms32nb/17/.

For the draw, translate, modify interactions you need to provide some source ident. This is usually vl-source-vector for the draw interaction and vl-interaction-select for the translate, modify.

Shookk69 commented 3 years ago

Thank you so much

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.