Contact us Login LIVE DEMO FREE TRIAL

upload(…)

Uploads new map layer.

MUST be a POST multipart request (multipart/form-data), with one of the parts being a KML file upload (with the name “file”).

parameters:

name description type
label Label for a new map layer string
file A KML file upload containing map_layer data File upload

return:

{
    "success": true,
    "id" : 163 // int. id of the created layer
}

errors:

  • 233 – No data file (if file part is missing)
  • 234 – Invalid data format (if file has wrong mime type)
  • 242 – Validation error (if uploaded file is not valid KML)

If you have more questions please contact our support team

Contacts

USA: +1 858 815 9045

Mexico: +52 334 1642158

UK: +44 808 1641499

Germany: +49 1573 5988250

Russia: +7 495 223 0427

Log in

Loading...

We use сookies to improve our website, products and related services, analyze site traffic, and serve targeted advertisements. If you continue to use our services, you consent to our use of сookies. Read more