Q: How to modify the location of various controls on the map?

A: 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 July,2019
Tags: iClient

More iClient FAQ