How to save a Google maps overlay shape in the database?

前端 未结 3 611
长发绾君心
长发绾君心 2020-12-01 01:39

I want to save a Google maps overlay shape in the database. This is my code. It works perfectly but I just need to save all_shapes array in the database.

<
3条回答
  •  生来不讨喜
    2020-12-01 02:15

    Simple GeoJson Editor is an example of drawing, editing, dropping and saving shapes as geoJson on google maps. The author ( a Google intern) described the project in this post.

    The Javascript and HTML are not minified.

    An even better opensource tool can be found at Geojson.io

提交回复
热议问题