oterral
dba6e04a1b
Parse nested document tag
2015-09-07 13:14:24 +02:00
Frederic Junod
af553366d4
Remove ol.xml.makeParsersNS and use ol.xml.makeStructureNS instead
2015-08-31 14:06:49 +02:00
Éric Lemoine
b0584acaa5
Add ol.format.KML.findStyle_ function
...
This commit adds an `ol.format.KML.findStyle_` function to prevent creating a function for every call to `ol.format.KML.createFeatureStyleFunction_`, as suggested by @ahocevar in #3900 .
2015-08-07 11:54:38 +02:00
Éric Lemoine
ae1221d811
Do not add Style as a feature property
...
This makes the KML format not add a Style property on features, as this may cause problems when serializing to another format such as JSON.
2015-06-22 10:11:46 +02:00
Marc Jansen
4c6289278b
Add basic docs for kmlformat
2015-04-23 13:31:26 +02:00
Tim Schaub
f0c0c28f04
Rename ol.feature.FeatureStyleFunction to ol.FeatureStyleFunction
2015-04-20 13:47:34 -06:00
Tim Schaub
6a564597fb
Update types accepted when reading features
2015-04-18 17:07:34 -06:00
É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
Bart van den Eijnden
47ce127a10
Add assert messages for all assertions up until ol.renderer.vector.
2015-03-30 22:55:23 +02:00
oterral
0a6a3f5d65
Add parsing of NetworkLink tag
2015-02-05 16:21:45 +01:00
oterral
65fe82d188
Fix default icon style in kml format
2015-01-26 09:46:48 +01:00
Frederic Junod
077a827197
Move readProjectionFrom* functions to the base classes
2015-01-21 09:15:04 +01:00
Tim Schaub
1ff43686f5
Use bracket notation instead of goog.object.get
2015-01-07 22:31:01 -07:00
Tim Schaub
f9a92c422c
Use bracket notation instead of goog.object.set
2015-01-07 21:08:24 -07:00
Frederic Junod
f8b59dbd53
Use goog.array.extend instead of ol.array.safeExtend
...
The upstream implementation now supports large arrays.
See https://github.com/google/closure-library/pull/356
2014-12-09 11:55:27 +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
Antoine Abt
757b6a214c
Rename ol.xml.parse to ol.xml.parseNode
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
Éric Lemoine
e0c173bd24
Add @api stable annotations for KML format
2014-08-28 17:10:23 +02:00
Tobias Sauerwein
a231086a8b
Merge pull request #2407 from ahocevar/format-projection
...
Options for feature readers and writers to support transforms
2014-08-21 17:58:10 +02:00
tsauerwein
b30ed6b934
Put options on objectStack for xml formats
2014-08-19 09:42:44 +02:00
tsauerwein
539e4a23b9
Introduce defaultDataProjection for formats
2014-08-18 15:31:06 +02:00
tsauerwein
48ed2e861e
Implement read/write transforms for ol.format.Polyline
2014-08-11 11:59:27 +02:00
tsauerwein
b05f880f7c
Implement read/write transforms for ol.format.KML
2014-08-08 17:10:11 +02:00
Frederic Junod
9e37aa796a
Add new olx.format.KMLOptions#extractStyles property
2014-08-07 17:08:19 +02:00
Frederic Junod
7a86bf58bf
Improve type annotation
2014-07-31 09:44:52 +02:00
Tim Schaub
4cf5ab4620
Use @api annotation instead of @todo api
2014-07-05 15:41:14 -04:00
Éric Lemoine
eafc2ac371
Change setValues to setProperties
2014-06-27 17:26:51 +02:00
Éric Lemoine
1ec25f3992
Remove the unused ol.format.KML.DOCUMENT_SEQUENCE_
2014-06-27 10:59:31 +02:00
Éric Lemoine
ccd01fb874
Add ol.format.XSD.writeBooleanTextNode
2014-06-27 10:56:04 +02:00
Éric Lemoine
177188d732
Add ol.format.KML.SCHEMA_LOCATION_
2014-06-26 15:13:04 +02:00
oterral
02b8ef1bb6
Fix nodes order in Placemark and IconStyle
2014-06-26 09:24:08 +02:00
oterral
5d8d936216
Use ol.xml.setAttributeNS for xmlns attributes
2014-06-26 09:07:22 +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
67bd397c37
Make ol.format.KML#readName method exportable
2014-06-25 08:31:45 +02:00
Tim Schaub
2a42e7736a
Merge pull request #2178 from probins/classdesc
...
Use @classdesc notation.
2014-06-09 11:18:14 -06:00
Peter Robins
41d9f0360a
Add @classdesc to classes
2014-06-09 12:10:19 -04:00
oterral
0b17d9aeb5
Add parsing of gx:x, gx:y, gx:w and gx:h tags in KML format
2014-06-04 11:15:13 +02:00
Andreas Hocevar
fbdbbfb7a7
Get rid of stability annotations and document stability with api
...
This change adds a stability value to the api annotation, with
'experimental' as default value.
enum, typedef and event annotations are never exportable, but
api annotations are needed there to make them appear in the
docs.
Nested typedefs are no longer inlined recursively, because the
resulting tables get too wide with the current template.
2014-04-29 09:53:07 -06:00
Andreas Hocevar
c17ac0cae3
Greatly simplify and document the usage of JSDoc
...
This commit simplifies the exports.js plugin so it only relies
on the stability notes to generate the documentation, which
completely decouples it from the exportable API.
As a rule of thumb, whenever something has an 'api' annotation,
it should also have a 'stability' annotation. A more verbose
documentation of ol3 specific annotation usage is available in
the new 'apidoc/readme.md' file.
This commit also modifies all source files to implement these
usage suggestions.
2014-04-29 09:53:06 -06:00
Tim Schaub
fb497f5288
Annotations for exports
2014-04-29 09:53:05 -06:00
Frederic Junod
68773941d3
Use goog.array.contains instead of goog.array.indexOf
2014-04-26 08:31:40 +02:00
Tom Payne
369c20388e
Use ol.array.safeExtend in ol.format.KML
2014-03-24 11:56:53 +01:00
Paul Spencer
a646577bd6
Add documentation for the KML format.
2014-03-11 20:53:21 -04:00
oterral
5028aa3bc3
Fix anchor origin calculation
2014-03-07 13:35:18 +01:00
Tom Payne
d2a52ba56d
Fix KML anchor origin
2014-03-04 16:38:33 +01:00