Well Known Text Reader/Writer with Shape Toolbox Module

Jun 19, 2012 at 10:31 AM

 

if you try and use these two scripts together then  when a polygon is drawn upon ending the edit the polygon will not be closed, to  correct this the  following needs to be changed in the shape Toolbox module 

function _Dispose() {

if (_shape && (_shape.toString() == '[Polygon]')) {

to

function _Dispose() {

       if (_shape && (_shape.toString() == '[AdvancedShapes.Polygon]' |_shape.toString() == '[Polygon]')) {

  

Coordinator
Jun 19, 2012 at 12:25 PM
Edited Jun 19, 2012 at 12:25 PM

Thanks for the info. The drawing tools module has now been updated to work with Advance Polygons.