How to draw box #195
-
|
The openlayers api documentation at https://openlayers.org/en/latest/apidoc/module-ol_interaction_Draw.html lists a createBox function and the example at https://openlayers.org/en/latest/examples/draw-shapes.html uses I am trying to migrate from gwt-openlayers to gwt-ol (gwt-ol3) and have hit this hurdle trying to convert several DrawFeatures - one creates a box, one for a circle, one for an ellipse. Can anyone provide some guidance? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
Hi @bdrx312 , this commit adds the missing function you need for this: 4d6c8dd Regards Tino |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Thanks a lot for adding support for this. Can you publish a new version to maven with the new feature? |
Beta Was this translation helpful? Give feedback.
Hi @bdrx312 ,
this commit adds the missing function you need for this: 4d6c8dd
Unfortunatly havn't tested yet. Maybe I can create an example for this in demo app.
Regards
Tino