A: You can use geometry.toString() to convert to string, and use fromWKT() to convert the string to the geometry object.
09 Jul,2019 iclientA: 1. Cancel the default double-click zoom in event. 2. Bound double-click event for the map div. 3. You can get the screen coordinates in the double click event of div. And you can get the geographic coordinates according to the screen coordinates. Then manually perform the magnification level. Then you can distinguish between double-click and scroll wheel scaling events.
09 Jul,2019 iclientA: The iClient default query method is asynchronous, and you can use the iServer REST API to build your own ajax requests to implement synchronous queries.
09 Jul,2019 iclientA: Client provides two div panels: plotting panel and attribute panel, which greatly simplifies steps to edit and draw plotting symbols. Please note that you need to copy samples/js/plottingPanle in iClient for JavaScript package to the project. If there is an error 404, you need to change the relative path in PlottingPanel.js file of plottingPanle folder.
09 Jul,2019 iclientA: Now graphicLayer only supports three styles: SuperMap.Style.Circle circle, SuperMap.Style.Clover clover, and SuperMap.Style.RegularShap regular polygon. It doesn’t support custom image styles.
09 Jul,2019 iclientA: Set externalGraphic in SuperMap.Feature.Vector.style to render external chart.
09 Jul,2019 iclientA: Suppose popup as the variable name of pop-up window, call popup.shadowDiv.innerhtml=’.
09 Jul,2019 iclientA: This feature is implemented through iClient for javascript in the front end. When you initialize SuperMap.Layer.TiledDynamicRESTLayer, you can set overlapDisplayed and overlapDisplayedOptions.
09 Jul,2019 iclientA: If you set the feature at the end of the animation, it will stay on the page.
09 Jul,2019 iclientA: It needs to set the return fields, such as count(*).
09 Jul,2019 iclientA: 1. Set the projection and maxExtent prameters on map. 2. Set the appropriate values to pixcell and utfgridResolution.
09 Jul,2019 iclientA: 1. The pixcell is the accuracy of utfgrid tiles which are sent to the server. The smaller the value, the higher the accuracy, and the larger the corresponding tile size will be. 2. utfgridResolution is the accuracy used for client parsing tiles. It should be equal to the pixcell, or there is a problem of location and property. 3. Usually if the UTFGrid layer is a region layer, the corresponding amount of data will be larger. In order not to affect the normal browsing of the page, you can set the two properties to a larger size.
09 Jul,2019 iclientA: In this case, manually set the map coordinate unit.
09 Jul,2019 iclientA: The orderBy parameter in SuperMap.REST.FilterParameter class is equivalent to the ORDER BY in SQL statements. The format is: ORDER BY < column name >. The column name is the name of each column in the property table, and column can also be called the attribute. In SuperMap, it is also called field. When sorting a single field, the field usage is orderBy = "field name"; when sorting multiple fields, the fields are separated by an English comma, which is used as orderBy = "field name 1, field name 2". For example, there is a country dataset, and it has two fields: “SmArea”and “pop_1994”, which represents the country size and the number of countries in 1994. If you want to sort the records according to the number of countries, orderBy = "pop 1994"; if you want to sort by area and population, orderBy = "SmArea, pop 1994".
09 Jul,2019 iclientA: Yes. However, you need to manually set the maximum range of the map, dpi (the default dpi for the rest map service published by iServer is 96), scale array, or resolution array when defining the rest dynamic block layer.
09 Jul,2019 iclientA: Maybe the layer name is wrong. For example, the layer name is China_Province_pg_1@China#1. If you written to China_Province_pg_1@China.1, the filter will be failure, especially the thematic map.
09 Jul,2019 iclientA: When the desktop computes the map range, it is the largest external rectangle for the points set, but the point icon is not counted. If you need the complete map, you need to set displayoutsidemaxto to true for the layer.
09 Jul,2019 iclientA: Change the axisYTick attribute of the histogram chartsSetting object to change the number of Y scale.
09 Jul,2019 iclientA: First, determine whether the coordinate system is consistent with the scale. If it is consistent, you can try to use the map synchronous loading. Set the DPI,scales/resolutions, bounds, and then overlay.
09 Jul,2019 iclientA: Modify the codomain attribute of the chart chartsSetting object by setting the appropriate range to make the bar chart show more coordination.
09 Jul,2019 iclient