This article is a mirror article of machine translation, please click here to jump to the original article.

View: 21314|Reply: 2

[Other] Summary of the use of Baidu Map's massive points

[Copy link]
Posted on 6/7/2017 11:15:48 AM | | | |
Recently, I need to use maps to show things, so I use Baidu Maps, quack

I heard that if the overlay is used too much, it will get stuck, if the zoom level is relatively small, I personally feel that a large number of points are needed, the effect is as follows:



The code is as follows:







Previous:Technician System (x86/x64) Installed/Pure Edition 2017.06
Next:.net/c# Common Development Libraries (DotNetUtilities)
 Landlord| Posted on 6/7/2017 11:21:23 AM |
Q: Can I customize the style picture of the dot with a large number of points???

A: No

PointCollectionOptions
This class is an optional parameter for PointCollections, has no constructor, and is represented by a literal quantity of objects.
Propertiestypedescription
shapeShapeTypePreset shapes for a large number of points
colorStringThe color of a large number of dots is '#fa937e' by default, and it also supports color strings such as 'red', hash strings '#000000', and rgb strings such as 'rgb(0,0,0)'. rgba strings, such as 'rgb(255,0,0,0.1)'; HSL strings, such as 'HSL(0,100%, 50%)'; HSLA strings, such as 'HSLA(0,100%, 50%, 0.4)'
size
SizeType
Preset size for a large number of points


ShapeType
This enumeration type represents different shapes preset by massive points.
constantdescription
BMAP_POINT_SHAPE_CIRCLECircle, which is the default shape
BMAP_POINT_SHAPE_STARStar-shaped
BMAP_POINT_SHAPE_SQUAREsquare
BMAP_POINT_SHAPE_RHOMBUSRhombus
BMAP_POINT_SHAPE_WATERDROP
Droplet-shaped, this type has no size and color attributes

There are only a few types of styles above, and if you want to set your own style picture, it is impossible! At least not yet!
Posted on 11/8/2017 3:25:17 PM |
Yes, I learned
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com