A: Exporting map is requested from the current view scope, and you can set the buffer attribute to the base map. The type is number. When it set to 1, an additional round of tiles can be requested to enhance the user experience. However, when the buffer value is set too large, it causes too many requests, resulting in iServer concurrency pressure. So it is necessary to set the appropriate value according to its own server performance.
09 July,2019 iClientA: Set the popup.div.style.filter = “” after initializated popup.
09 July,2019 iClientA: It may be that the image attribute of the vector element is repeatedly defined. And this property needs to be defined in advance and then called.
09 July,2019 iClientA: This problem is solved in iClient for JavaScript8.0.2 and later version. Please update to the iClient for JavaScript 8.0.2 version and later.
09 July,2019 iClientA: The maxWeight and minWeight parameters of HeatMapLayer. If you don’t set them, it will draw the heat map according to the maximum and minimum weight of hotpots in the current screen. When dragging the map, the maximum and minimum values will change in the current screen. Then the rendered heat map will change.
09 July,2019 iClientA: In addition to fill in the necessary attributes, please note that the line data of latter state should contain all nodes of the previous state line data.
09 July,2019 iClientA: After the instantiation, you can use SuperMap.Format.GeoJSON to call the write method to serialize a feature object, geometry object, feature object array to a GeoJSON string.
09 July,2019 iClientA: After the instantiation, you can use SuperMap.Format.KML to call the write(features) method to convert the Feature array into a string.
09 July,2019 iClientA: You can use geometry.toString() to convert to string, and use fromWKT() to convert the string to the geometry object.
09 July,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 July,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 July,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 July,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 July,2019 iClientA: Set externalGraphic in SuperMap.Feature.Vector.style to render external chart.
09 July,2019 iClientA: Suppose popup as the variable name of pop-up window, call popup.shadowDiv.innerhtml=’.
09 July,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 July,2019 iClientA: If you set the feature at the end of the animation, it will stay on the page.
09 July,2019 iClientA: It needs to set the return fields, such as count(*).
09 July,2019 iClientA: 1. Set the projection and maxExtent prameters on map. 2. Set the appropriate values to pixcell and utfgridResolution.
09 July,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 …
09 July,2019 iClient