... //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> <!-- // 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>
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
updategeometries
false
//.....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");
editor.updateGeometryEnabled
<updategeometry>false</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>
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.