I have geographical data which is represented by a set of points (latitudes and longitudes which form lines), the data is in json. I want to create a Google Map on my website with that data, but the map should also be editable by the user, so he can move the lines, add markers etc.
I could create it using the Google Maps API - with it I can draw polylines, add markers but everything has to be done by my javascript which adds a lot of work.
Google Maps offers a regular user a really nice map editor. To create a map with it the user has to click through the interface or import a KML file.
What I was thinking about, was mixing methods 1. and 2. like this:
a) Export my data to a KML file
b) Import the KML file to a users Google Maps account
c) The user can edit the map with the awesome Google Maps editor
d) Embed the map back on my website with embed code
The problem is with point b) - is it possible to import a KML file to Google Maps using some request/api call?