The content of this article is about using Amap with PHP (1) to draw polygons and edit to obtain coordinates (simple summary). It has certain reference value. Now I share it with you. Friends in need can refer to it. Let’s take a look
If you use the Amap API for the first time, you must first apply for a Amap key
Main instructions:
1. Amap map display
2. Amap map Click to get the coordinates
3. Draw polygons with the mouse on Amap
4. Edit polygons with the mouse on Amap and get the coordinates
# #Reference:
##http://lbs.amap.com/api/javascript-api/guide/create-map/show-map Show maphttp: //lbs.amap.com/api/javascript-api/example/marker/marker-content Point mark example
http://lbs.amap.com/api/javascript- api/example/overlayers/polyline-circle-polygon Polyline, polygon, circle examples
##http://lbs.amap.com/faq/web/javascript-api/327
http://lbs.amap.com/api/javascript-api/example/overlayers/edit-polyline-circle-polygon Edit polyline, polygon, Circle
http://lbs.amap.com/faq/web/javascript-api/editpolygon-getpath
The above is the detailed content of PHP uses Amap (1) to draw polygons and edit to obtain coordinates (simple summary). For more information, please follow other related articles on the PHP Chinese website!