0.7.4 • Published 6 years ago

kmlwriter v0.7.4

Weekly downloads
1
License
MIT
Repository
gitlab
Last release
6 years ago

KML Writter

npm NPM

Introduction

KML writing javascript librari

Dependences

Installation

$ npm i kmlwriter

Functions

KML operations

Start a kml

Generate a new KML file:

Will start the kml object. We can define a name for the kml, if we don't define it, will saved as kml by default.

kml = new kmlWriter()
kml.startKml(name = 'kml')

Placemark operations

Generate a Placemark

addPlacemark(id,name,lon,lat,range, altMode = 'relativeToGround', description = '', icon= '' )

edit the coordinates of a Placemark

editCoodPlacemark(id, lon, lat, range)

Tour Operations

Create a Tour

kmlWriter.createTour(ID, name,description))

Generate KML file

The generete KML function will use the name of the kml defined when the kml is started.

kmlWriter.saveKML('path/to/file')

Create a NetworkLink

the functions needs a id, to set it into the tag, and the ip or link to our server.

kml.networkLink(id, link, fly = 0, visibility = 1 )

Find errors:

in editCoodPlacemark if didn't find the index crush.

Colaborators:

Renato Fernandes

Eric Monné Mesalles

Letícia Vigna

0.7.4

6 years ago

0.7.3

6 years ago

0.7.2

6 years ago

0.7.1

6 years ago

0.7.0

6 years ago

0.6.6

6 years ago

0.6.5

6 years ago

0.6.4

6 years ago

0.6.3

6 years ago

0.6.2

6 years ago

0.6.1

6 years ago

0.6.0

6 years ago

0.5.3

6 years ago

0.5.2

6 years ago

0.5.1

6 years ago

0.5.0

6 years ago

0.4.9

6 years ago

0.4.8

6 years ago

0.4.7

6 years ago

0.4.66

6 years ago

0.4.65

6 years ago

0.4.6

6 years ago

0.4.5

6 years ago

0.4.4

6 years ago

0.4.3

6 years ago

0.4.2

6 years ago

0.4.1

6 years ago

0.4.0

6 years ago

0.3.5

6 years ago

0.3.4

6 years ago

0.3.3

6 years ago

0.3.2

6 years ago

0.3.0

6 years ago

0.0.0

6 years ago