Tamar Cohen
eb75f4eedf
Add test for auto-labeling of placemark names
2015-10-25 19:40:12 +01:00
Tamar Cohen
80caaa5399
Make auto-labeling of placemark names configurable
2015-10-25 19:40:08 +01:00
Tamar Cohen
15c1323ff9
Render placemark names for points in KML format
2015-10-25 19:38:25 +01:00
Tamar Cohen
9764dac149
added missing semicolon
2015-10-21 14:51:34 -07:00
Tamar Cohen
79d803aba8
scale icons by 0.5 so they are not huge
2015-10-21 14:30:14 -07:00
Marc Jansen
47a7b03e0e
Remove use of toDegrees/toRadians util functions
...
Instead of goog.math.toRadians and goog.math.toDegrees, we now use
our own implementations of these basic conversion functions.
2015-10-12 21:16:03 +02:00
Guillaume Beraudo
fef1b0981e
Remove goog.string.trim()
...
Replace with standard ECMAScript 5.1.
2015-10-01 14:14:06 +02:00
Marc Jansen
eb5088eb40
Remove goog.isNull in format classes
2015-10-01 09:17:14 +02:00
Tim Schaub
6bdacced92
Merge pull request #4176 from tschaub/remove-isdefandnotnull
...
Remove use of goog.isDefAndNotNull().
2015-10-01 00:05:57 -06:00
Marc Jansen
c4d5036878
Do not use goog.object.get
2015-09-30 22:27:39 +02:00
Tim Schaub
b48cabee28
Remove unnecessary goog.isDefAndNotNull() calls
2015-09-29 09:32:51 -06:00
Tim Schaub
ac7db89a91
Replace goog.isDefAndNotNull() with truthy checks
2015-09-29 09:32:51 -06:00
Frederic Junod
88c3891bef
Replace goog.array.contains with ol.array.includes
2015-09-29 10:42:07 +02:00
Tim Schaub
0927c55b3c
Toward natural JavaScript syntax
2015-09-25 12:16:42 -06:00
Tim Schaub
1fceb4a709
Remove goog.isDef from formats
2015-09-25 11:28:54 -06:00
Frederic Junod
b128675e60
Remove use of goog.object.remove
2015-09-22 12:08:09 +02:00
Frederic Junod
d0722cab6a
Use bracket notation instead of goog.object.get
2015-09-08 16:33:15 +02:00
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