Commit Graph

43 Commits

Author SHA1 Message Date
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
Tom Payne
35349764d9 Merge pull request #1766 from twpayne/kml-style-url
Handle out-of-order and shared Styles and styleUrls in KML
2014-03-03 10:55:37 +01:00
Tom Payne
56b6913a01 Rename ol.format.XML to ol.format.XMLFeature 2014-02-28 13:13:11 +01:00
Tom Payne
7bbef0f0ea Read Icon hrefs as URIs 2014-02-26 17:37:49 +01:00
Tom Payne
b3c527166d Be more tolerant of out-of-spec KML files 2014-02-26 17:37:49 +01:00
Tom Payne
42c832154b Refactor KML style handling to handle shared Styles and StyleMaps 2014-02-26 17:37:49 +01:00
Bart van den Eijnden
9bade5ce87 Implement setPolygons on ol.geom.MultiPolygon 2014-02-21 11:28:18 +01:00
oterral
0a6390fb21 Add anchorOrigin option in ol.style.Icon 2014-02-21 09:09:59 +01:00
Tim Schaub
f4585331f2 Add setStyle and getStyle to ol.Feature
As with vector layers and feature overlays, feature style can be set by calling
setStyle.  Calling getStyle returns what was passed to setStyle.  Internally, we call getStyleFunction.
2014-02-13 10:25:17 -07: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
91e9b82fe1 Use ol.xml.getLocalName in ol.format.KML 2014-02-04 22:20:45 +01:00
Tom Payne
17fba61bf2 Cope with undefined baseURI in ol.format.KML 2014-02-04 22:19:54 +01:00
Tom Payne
cd1355a699 Use ol.xml.isNode in ol.format.KML 2014-02-04 22:19:54 +01:00
Tom Payne
cd7df92891 Use ol.xml.isDocument in ol.format.KML 2014-02-04 22:19:53 +01:00
Tom Payne
34e75e2653 Use ol.xml.load in ol.format.KML 2014-02-04 17:36:56 +01:00
Tom Payne
608e3c43b1 Add stability annotation to ol.format.KML 2014-02-03 14:59:14 +01:00
oterral
63c321b980 Lets ol.style.Icon to define default values 2014-01-28 13:30:11 +01:00
Frederic Junod
295d4fbaa3 Use ol.format.XSD.readDecimal in ol.format.KML 2014-01-23 16:35:39 +01:00
Frederic Junod
7b09e04001 Rename ol.format.KML.readscale_ to ol.format.KML.readScale_ 2014-01-23 16:14:55 +01:00
Frederic Junod
401acc77f3 Remove unneeded 'ms' param from Date.UTC function 2014-01-23 16:14:50 +01:00
Frederic Junod
9fe5eff865 Use ol.format.XSD.readBoolean in ol.format.KML 2014-01-23 10:55:02 +01:00
Frederic Junod
827ae44a5f Use ol.format.XSD.readString in ol.format.KML 2014-01-23 10:43:47 +01:00
Tom Payne
5f5b37f1b6 Merge pull request #1558 from twpayne/push-parse-pop
Rename ol.xml.pushAndParse to ol.xml.pushParseAndPop
2014-01-20 08:28:27 -08:00
Tom Payne
432d10a457 Rename ol.xml.pushAndParse to ol.xml.pushParseAndPop 2014-01-20 16:47:56 +01:00
oterral
84be78b35a Add parsing of <gx:Track> in <Placemark> 2014-01-20 16:32:17 +01:00
Tom Payne
85217cdbb2 Improve RegExp for parsing coordinates, thanks @tschaub 2014-01-16 20:35:20 +01:00
Tom Payne
00286de2c8 Fix date calculation 2014-01-16 20:30:56 +01:00
Tom Payne
5ae54133db Allow ol.format.KML.readNumber_ to read signs and exponents, thanks @tschaub 2014-01-16 20:30:55 +01:00
Tom Payne
92b852c512 Remove unused extractAttributes and extractStyles options 2014-01-16 19:43:47 +01:00
Frederic Junod
b53ddf5b42 Create 'type' annotation for 'const' variables 2014-01-13 08:53:36 +01:00
oterral
235af49f0b Add goog.provide('ol.geom.GeometryType') 2014-01-10 14:00:30 +01:00
Tom Payne
6b94baf291 Add ol.format.KML defaultStyle option 2014-01-08 18:22:19 +01:00
Éric Lemoine
47056f6012 Remove useless code 2014-01-08 10:59:36 +01:00
Tom Payne
1acdef835d Change default anchor for KML icons from Google Maps 2014-01-08 00:30:17 +01:00
Éric Lemoine
7487f97436 Support anchorXUnits and anchorYUnits in KML format 2014-01-08 00:27:08 +01:00
Tom Payne
0b4e8bf6f1 Use firstElementChild in ol.format.KML 2014-01-06 13:27:37 +01:00
Tom Payne
d20a8eac3f Read KML LinearRings as Polygons 2014-01-06 10:41:38 +01:00
Tom Payne
061fed50b7 Move all styleFunction types into ol.feature 2014-01-03 17:23:11 +01:00
Tom Payne
2b51d6af00 Add support for gx:MultiTrack elements 2013-12-20 16:40:53 +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