Please move the code for SceneControl and Scene to the windowOpened method of JFrame, or the code after it. The handle of the JFrame window can be get only after it is displayed, and the operations of SceneControl and Scene need this handle.
09 Dec,2019 iObjectsJavaPlease check that whether you change the ImageSize property value of map or the size of the mapcontrol after transferring the ViewEntire() method. If you need viewentire the map after change the size ,you should transfer the ViewEntire() method again.
09 Dec,2019 iObjectsJavaPlease check the ID of the filling marker in the Style of the selection. 1 means no filling, 0 means filling.
09 Dec,2019 iObjectsJavaIf you want to draw temporary object, please set the TrackMode attribute in MapControl first.
09 Dec,2019 iObjectsJavaPlease check whether it is started like this public static void main(String[] args) { SwingUtilities.invokeLater(new Runnable() { public void run() { // The classes and methods to implement} } ); }
09 Dec,2019 iObjectsJavaObjects Java use millimeter as unit, while Deskpro takes the unit of 0.1 millimeter.
09 Dec,2019 iObjectsJavaWhen you use the data from the SDB datasource for making the 3D thematic map, you must call the method, Layer3DDataset.updateData() of this thematic map layer after adding it to the scene; otherwise the thematic map layer cannot display.
09 Dec,2019 iObjectsJavaWhen you use the dataset in the datasource whose engine type is Oracle, SQL or DB2 to make the unique map, if you use the relational expression such as "SmID>100" as the field expression, the operation will fail and return null. Therefore the field expression should be the field name or the arithmetic expression such as "SmID" and "SmID + 1 ".
09 Dec,2019 iObjectsJavaWhen the MapControl object doesn't display, you had better not evoke the methods which begin with Do such as DoMouseDown; otherwise it may crash.
09 Dec,2019 iObjectsJavaBy default, the isTextOrientationFixed() method of Map class returns true, which indicates some texts are unable to be displayed on a map. when the Label map and Graph map are displayed simultaneously, or multi-layers exist in the same map, the display effect of the map depends on the sequence of layers added to the map. If the setTextOverlapAvoided(boolean value) method is set to false, the overlapped texts can be displayed.
09 Dec,2019 iObjectsJavaThe origin of the map coordinate system is at the left bottom, and the positive direction of X and Y is rightward and upward respectively. The origin of the screen coordinate system is at the top left, and the positive direction of X and Y is rightward and downward respectively.
09 Dec,2019 iObjectsJavaYes, it needs to be. You can first close map or MapControl, and then close the Workspace.
09 Dec,2019 iObjectsJavaYes, it has to be connected with Workspace using the method of setWorkspace(Workspace) before using MapControl to display data.
09 Dec,2019 iObjectsJavaWhen the Recordset is a part object in a function and it's no longer used, you have to call the method of Dispose to release it.
09 Dec,2019 iObjectsJavaPut libstdc++.so.6 from suppourt folder into Bin floder
09 Dec,2019 iObjectsJavaCurrent system lacks of libpng12 library, please install corresponding libpng 12 library to solve this problem. You can install the library with installation disc or /support/ rmp to install. Suse system installs by yum install libpng12-0-1.2.44-7.1.x86_64.rpm, Redhat or CentOS installs by yum install libpng-1.2.10-17.el5_8.x86_64.rpm. Other Linux systems are similiar
09 Dec,2019 iObjectsJavaDelete same content in the registry, search the product name (SuperMap Object Java 6R, for example) in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Unintall and delete the key values.
09 Dec,2019 iObjectsJavaThe install directory can not include bracket, otherwise the program will not read data successfully.
09 Dec,2019 iObjectsJavaThe relative path in the Supermap.xml file means the relative path to the folder which contains the executable file.
09 Dec,2019 iObjectsJavaPlease note that if your operating system is Windows Vista or Windows 7, you need to run SuperMap License Manager as administrator or turn off UAC before license configuration.
09 Dec,2019 iObjectsJava