...
//updateGeometry
if (configXML.updategeometry.length() > 0)
{
updateGeometry = configXML.updategeometry == "true";
}
editor.updateGeometryEnabled = updateGeometry;
....
<?xml version="1.0" ?> <!-- If compiling this widget, make sure to add -keep-all-type-selectors=true to your compiler arguments in the FB project properties. --> <configuration label="Edit (example)"> <createoptions> <polygondrawtools>polygon,freehandpolygon,extent,autocomplete</polygondrawtools> <polylinedrawtools>polyline,freehandpolyline,line</polylinedrawtools> </createoptions> <addfeatures>true</addfeatures> <deletefeatures>true</deletefeatures> <toolbarvisible>false</toolbarvisible> <toolbarcutvisible>false</toolbarcutvisible> <toolbarmergevisible>false</toolbarmergevisible> <toolbarreshapevisible>false</toolbarreshapevisible> <updategeometry>false</updategeometry> <updateattributes>true</updateattributes> </configuration>
<?xml version="1.0" ?> <configuration> <updategeometry>false</updategeometry> </configuration>
updategeometries" tag to
false. first it seems work fine, but when i select one feature and click it twice it let me edit geometries.
//.....EditWidget: basewidget_widgetConfigLoaded function...
//updateGeometry
if (configXML.updategeometry.length() > 0)
{
updateGeometry = configXML.updategeometry == "true";
}
editor.updateGeometryEnabled = updateGeometry;
//labels
attributesLabel = configXML.labels.attributeslabel[0] || getDefaultString("attributesLabel");
//...continue.....
attributesLabel = configXML.labels.attributeslabel[0] || getDefaultString("attributesLabel"); asigment line, I watched "editor.updateGeometryEnabled" and its value was "false", thats is ok. but again, when selected and clicked any feature twice still let me edit geometries 😞
<updategeometry>false</updategeometry>).
I am not able to run 3. Tried it and it won't even display a tiled map...maybe it's because we are still using 10 and not 10.1
<?xml version="1.0" ?> <!-- If compiling this widget, make sure to add -keep-all-type-selectors=true to your compiler arguments in the FB project properties. --> <configuration> <!-- // remove this <createoptions> <polygondrawtools>polygon,freehandpolygon,extent,autocomplete</polygondrawtools> <polylinedrawtools>polyline,freehandpolyline,line</polylinedrawtools> </createoptions> <addfeatures>true</addfeatures> <deletefeatures>true</deletefeatures> <toolbarvisible>true</toolbarvisible> <toolbarcutvisible>false</toolbarcutvisible> <toolbarmergevisible>false</toolbarmergevisible> <toolbarreshapevisible>false</toolbarreshapevisible> <updategeometry>false</updategeometry> <updateattributes>false</updateattributes> --> // remove this </configuration>