New answers tagged

0

for the hover interaction you can use this code: hoverInteraction = new ol.interaction.Select({ condition: ol.events.condition.pointerMove, layers:[yourLayer] //Setting layers to be hovered }); map.addInteraction(hoverInteraction); the features in yourLayer will be highlighted when hovered, now for the select interaction you can either add a: ...


2

This works for me: from PyQt4.QtGui import QGroupBox, QCheckBox, QDialog, QHBoxLayout d = QDialog() gb = QGroupBox("Groupbox") gb.setEnabled(False) cb = QCheckBox("Set active") l = QHBoxLayout(d) l.addWidget(gb) l.addWidget(cb) cb.stateChanged.connect(toggleGroupBox) def toggleGroupBox(state): if state > 0: gb.setEnabled(True) else: ...


0

This seems to be a bug in ArcGIS 10.0. As workaround one can call the menu item ‘expot map’ directly. The file chooser and the different export settings can be done by using this ESRI standard tool. Here is the corresponding code: //Command: Export Map //CLSID: {119591DB-0255-11D2-8D20-080009EE4E51} //ProgID: esriArcMapUI.MxFileMenuItem //Toolbar (Parent)...


0

What about working with edit operations? IWorkspaceEdit workspaceEdit = m_featWorkSpace as IWorkspaceEdit; if (workspaceEdit != null) { try { workspaceEdit.StartEditing(true); workspaceEdit.StartEditOperation(); //Make your local changes to your workspace ... //Try to save your changes located on an internet ...


0

I solved this problem as follows: I added new another field attributes, for example, orig_coord = concat($x,' ',$y) and in color rule i added this if("orig_coord" = concat($x,' ',$y),color_rgb(0,0,0),color_rgb(0,255,50)) So I see the color of some of the objects changed their position in the process of moving. Again sorry for my english.


0

If you are just using the "Move Feature" option in QGIS, there is no way to have it automatically update have it update an attribute. If you're moving it using some kind of geoprocessing or plugin, then it depends on which tool you're using to do that.



Top 50 recent answers are included