A: 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 iclientA: map.events.on(“zoomend “,callback): monitor the completion event of map zooming. The callback function gets the current scale or zoom level, and then set the layer of hiding and displaying. layer.setVisibility(): the base method. All layer sub-classes inherit this class.
09 Jul,2019 iclientA: 1. The contains method of SuperMap.Bounds. 2. The intersects method of part Geometry. 3. Use iServer overlay analysis service. The parameter class uses GeometryOverlayAnalystParameters.
09 Jul,2019 iclientA: Because you set point style to the style of region object. It is recommended that the style of region object only set fill and stroke styles.
09 Jul,2019 iclientA: May be because the Vector layer is set to the StyleMap (the 4 kinds of features without styles should be set this style) property. But the point style did not set to the pointRadius style. This point will be displayed if you set the pointRadius larger than 0.
09 Jul,2019 iclientA: 1. Map.addControl(controls,pixels), description: both can be array, and the array is one to one. SuperMap.Pixel(x,y,mode): x and y is the location of top left pixel relative to map div; mode is the bit string, and you can select upper left, upper right, lower right and lower left; the value is SuperMap.Pixel. Mode.LeftTop and so on. Please refer to the class reference. 2. Modify the css. The visible controls generally have a fixed css class that can be modified to change the styles.
09 Jul,2019 iclientA: OMSBuilding can only use the global scope 3857 (Mercator) coordinates base map. The added data should be 4326 (WGS-84) coordinate system.
09 Jul,2019 iclientA: In this case, please check whether allow editing when the data service is published. Then check whether the url of the data service is written correctly. The url of the data service needs to be written to the dataset name. You don't need to set the geometry's id when you add features.
09 Jul,2019 iclientA: You can use the SuperMap.Control.SelectFeature control, and write the callback function for the right mouse event in the callbacks property: var callbacks={rightclick:function(currentFeature){//todo}};var selectFeature = new SuperMap.Control.SelectFeature(vectorLayer,{callbacks: callbacks}).
09 Jul,2019 iclientA: You can use SuperMap.Util.DistVincenty tool class to income two latitude and longitude coordinates points, calculating the distance of two points on the ellipsoid surface. The unit is km.
09 Jul,2019 iclientA: Set the lineColor property of style in SuperMap.REST.ThemeDotDensity.
09 Jul,2019 iclientA: Modify the latitude and longitude order in the WFS service published by Arcgis. If it is YX, change it to XY.
09 Jul,2019 iclientA: The coordinate projection transformation class SuperMap.Projection provided by JavaScript is used to transform projection on the client. For the custom coordinate system, you need to introduce the Proj4js.js package (../exampless/proj4js/lib/); For example, define the epsg code to 32652 coordinate system: Proj4js.defs[“EPSG:32652”]=”parameter string”; The parameter string is got in the pro4js website http://spatialreference.org/ref/epsg/[epsg code]/proj4/. After the coordinate system is defined, the ” EPSG:32652” can use it.
09 Jul,2019 iclient