Capture Google Map KML input to Google Form/Fusion Table

Анульовано Опубліковано %project.relative_time Оплачується при отриманні
Анульовано Оплачується при отриманні

My goal is let a user draw a route on a Google Map so they can submit it to the site.

In the following jsfiddle, a user can draw a route and double-click when finished. Double-click will bring up a Google Form with 'Location' field pre-populated with the KML coordinates. The user can submit it, and it goes to a Fusion Table for easy display down the line once it is approved.

Here is the jsfiddle. [url removed, login to view]

And the code in question:

-----------------------------------------------------------------------------

//here is the variable with properly formatted KML

geolines=escape("")+[url removed, login to view]().getArray().toString().replace(/([\s]+)/g, '')+escape("") ;

//infowindow that should display a form with Location field pre-populated with geolines variable for easy submission.

infowindowv2 = new [url removed, login to view]({

content: ''

});

-------------------------------------------------------------------------------

The problem is that if one zooms out and draws a more complicated route, the KML becomes too large very quickly and I get the following error: "413. That’s an error. Your client issued a request that was too large. That’s all we know." This is because only 2000 characters can be passed via URL and the KML files get a lot bigger very quickly. See here. [url removed, login to view]

I like the way maps/forms/fusion tables work together and I would like to preserve this combination, if possible.

THE JOB:

Figure out a way to get around this error, while preserving the look and feel of the site. Basically, take the KML captured in the "geolines" variable and have it ready for submission via a form.

There is probably a Javascript solution to this. Maybe AJAX. Or maybe Fusion Tables API. Take your pick.

In your responses, please post how you would like to proceed and please post something that gives me confidence you can do finish this.

Note: There may be more than one winning bid for this so I can get several solutions and test and compare on my own.

AJAX Картографія та карти Електронні форми JavaScript PHP

ID Проекту: #4142783

Про проект

3 заявок(-ки) Дистанційний проект Остання активність Jan 27, 2013

3 фрілансерів(-и) готові виконати цю роботу у середньому за $583

pentium10

Professional work from professionals!

$1500 USD за 30 дні(-в)
(220 відгуків(и))
6.8
dmytyar

Check your PMB to solution.

$50 USD за 1 день
(1 відгук)
3.1
csandorsl

Google Maps developer and GIS analyst. PMB for details.

$200 USD за 7 дні(-в)
(0 відгуків(и))
0.0