Commit Graph

27 Commits

Author SHA1 Message Date
Éric Lemoine
e45c44fa01 Add missing goog.provide's 2015-04-07 13:49:36 +02:00
Guillaume Beraudo
f25302f8b7 Parse KML extrude and altitudeMode from multi geometries
Handle MultiPoint, MultiLineString, MultiPolygon.
LinearRing properties are not handled.

An 'extrude' boolean array property is set in the geometry properties.
An 'altitudeMode' string array property is set in the geometry properties.
2015-03-31 17:21:12 +02:00
Guillaume Beraudo
5bd63f7e2c Parse KML extrude and altitudeMode of simple geometries
Point, LineString and Polygon are handled.
LinearRing properties are not handled.

An 'extrude' boolean property is set in the geometry properties.
An 'altitudeMode' string property is set in the geometry properties.
2015-03-31 15:30:58 +02:00
Stefan Weil
e812f2435e Fix typos found by codespell
Most of them are in comments, some in strings.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-02-12 16:39:55 +01:00
oterral
c1fd95305c Add tests for parsing of NetworkLink tags 2015-02-05 16:21:51 +01:00
Frederic Junod
077a827197 Move readProjectionFrom* functions to the base classes 2015-01-21 09:15:04 +01:00
Bart van den Eijnden
3587418888 The writeFeatures method should always return a string 2014-12-05 14:54:59 +01:00
Antoine Abt
88d1258e83 Rename ol.xml.load to ol.xml.parse 2014-10-27 16:00:42 +01:00
oterral
9aeb9849fb Add parsing of LabelStyle in KML format 2014-10-09 16:48:49 +02:00
Tim Schaub
a1bb755123 Fix failing KML format tests 2014-09-28 15:04:49 -06:00
tsauerwein
b05f880f7c Implement read/write transforms for ol.format.KML 2014-08-08 17:10:11 +02:00
oterral
02b8ef1bb6 Fix nodes order in Placemark and IconStyle 2014-06-26 09:24:08 +02:00
Éric Lemoine
384f2a0ecf Create valid KML documents
Thanks @bartvde.
2014-06-25 15:58:56 +02:00
Éric Lemoine
a4e95eb513 Add write support to KML format 2014-06-25 12:17:32 +02:00
oterral
b4851e7927 Add ol.format.KML test for complex IconStyle 2014-06-05 08:40:08 +02:00
Tom Payne
d42a262814 Add out-of-order shared Style and StyleMap test 2014-02-26 16:08:01 +01:00
Éric Lemoine
ae2b3359f8 Fix the kml format tests 2014-02-06 12:59:38 +01:00
Tom Payne
0b4b6e2a75 Merge pull request #1639 from twpayne/kml-ie9
KML support for Internet Explorer
2014-02-05 14:23:07 +01:00
Hadrien Tulipe
b5fefc9ab3 Supprt parsing of kml:datetime (#1585)
This commit modifies the previous regex used to match following
datetimes:

- 2014
- 2014-02
- 2014-02-15

The new regex also matches dates that were matched by the previous
regex.

This commit also include a unit test for kml:dateTime parsing.
2014-02-04 22:36:42 +01:00
Tom Payne
7940a2fc64 Don't use problematic afterLoadXml function 2014-02-04 22:20:45 +01:00
Tom Payne
2b268e284e Fix closing tag in tests 2014-02-04 17:36:56 +01:00
Tom Payne
62114a73e2 Fix typo in tests 2014-02-04 17:36:56 +01:00
oterral
63c321b980 Lets ol.style.Icon to define default values 2014-01-28 13:30:11 +01:00
oterral
84be78b35a Add parsing of <gx:Track> in <Placemark> 2014-01-20 16:32:17 +01:00
Tom Payne
d20a8eac3f Read KML LinearRings as Polygons 2014-01-06 10:41:38 +01:00
Tom Payne
33bf2b746f Add ol.format.KML#readName 2013-12-19 17:54:13 +01:00
Tom Payne
1d8f81d637 Add ol.format.KML 2013-12-19 17:00:37 +01:00