ReferenceError: Error #1069: Property textFormat not found on lu.etat.pch.gis.widgets.pchPrintWidget.json.AgsJsonSimpleFillSymbol and there is no default value. at lu.etat.pch.gis.widgets.pchPrintWidget::PchJSONUtils$/encodeGraphic() at lu.etat.pch.gis.widgets.pchPrintWidget.utils::MapUtils$/getPrintLayers() at lu.etat.pch.gis.widgets.pchPrintWidget::PchPrintWidget/calculateWebMapJson() at lu.etat.pch.gis.widgets.pchPrintWidget::PchPrintWidget/btnPrint2_printSelectExtent() at lu.etat.pch.gis.widgets.pchPrintWidget::PchPrintWidget/__btnPrint2_click()
if("textFormat" in graObj.symbol) { if("color" in graObj.symbol.textFormat) { graObj.symbol.color = graObj.symbol.textFormat.color; graObj.symbol.textFormat.color = null; graObj.symbol.borderLineColor = null; } }
if (graphic.symbol) { graObj.symbol = encodeSymbol(graphic.symbol); if(graObj.symbol.textFormat != null) { if(graObj.symbol.textFormat.color) { graObj.symbol.color = graObj.symbol.textFormat.color; graObj.symbol.textFormat.color = null; graObj.symbol.borderLineColor = null; } }
if (graphic.symbol) { graObj.symbol = encodeSymbol(graphic.symbol); if(graObj.symbol.textFormat) { if(graObj.symbol.textFormat.color) { graObj.symbol.color = graObj.symbol.textFormat.color; graObj.symbol.textFormat.color = null; graObj.symbol.borderLineColor = null; } }
warning: unable to bind to property 'style' on class 'Object' (class is not an IEventDispatcher) warning: unable to bind to property 'style' on class 'Object' (class is not an IEventDispatcher) warning: unable to bind to property 'style' on class 'Object' (class is not an IEventDispatcher) warning: unable to bind to property 'style' on class 'Object' (class is not an IEventDispatcher)
if(graObj.symbol.textFormat) { if(graObj.symbol.textFormat.color) { graObj.symbol.color = graObj.symbol.textFormat.color; graObj.symbol.textFormat.color = null; graObj.symbol.borderLineColor = null; } }
if(graObj.symbol.textFormat && graObj.symbol.textFormat.color) {
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.