Commit Graph

302 Commits

Author SHA1 Message Date
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
Frederic Junod f06adff56c Add ol.format.XSD.readNonNegativeIntegerString function 2014-02-10 16:19:08 +01:00
Frederic Junod f6629fae6c Add ol.format.XSD.readDecimalString function 2014-02-10 16:19:08 +01:00
Frederic Junod e3deb03e71 Add ol.format.XSD.readBooleanString function 2014-02-10 16:19:08 +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 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 f22495871c Use ol.xml.isNode in ol.format.XML 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 99aa9f207d Use ol.xml.isDocument in ol.format.XML 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 6f665c1280 Use ol.xml.load in ol.format.XML 2014-02-04 17:36:56 +01:00
Tom Payne 6e322bdf0b Don't fail when no featues are found in ol.format.TopoJSON 2014-02-03 19:01:24 +01:00
Tom Payne 26a81a05ce Add stability annotation to ol.format.TopoJSON 2014-02-03 14:59:14 +01:00
Tom Payne 608e3c43b1 Add stability annotation to ol.format.KML 2014-02-03 14:59:14 +01:00
Tom Payne a603ad86e9 Add stability annotation to ol.format.IGC 2014-02-03 14:59:13 +01:00
Tom Payne d033801a84 Add stability annotation to ol.format.GPX 2014-02-03 14:59:13 +01:00
Tom Payne 2dd6cfd651 Add stability annotation to ol.format.GeoJSON 2014-02-03 14:59:13 +01:00
Tom Payne 0a537d5e86 Improve type checking in ol.format.Polyline.decodeDeltas 2014-01-30 11:20:58 +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 271caef342 Better ol.format.XSD.* documentation 2014-01-23 16:35:38 +01:00
Frederic Junod 64ccfdc805 Add exponent support in ol.format.XSD.readDecimal 2014-01-23 16:14:55 +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 cb25267341 Add ol.format.XSD.readBoolean function 2014-01-23 10:54:40 +01:00
Frederic Junod 827ae44a5f Use ol.format.XSD.readString in ol.format.KML 2014-01-23 10:43:47 +01:00
Tim Schaub b7ed585e31 Reminder to remove workaround when GeoServer GeoJSON issue is fixed
See #1566 and http://jira.codehaus.org/browse/GEOS-5996
2014-01-21 09:59:25 -07:00
Tom Payne f9e0167b66 Parse out-of-spec CRSs generated by GeoServer 2014-01-21 16:02:02 +01:00
Tom Payne ace6c1d098 Merge pull request #1556 from twpayne/export-topojson
Export ol.format.TopoJSON
2014-01-20 08:55:56 -08: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 cdfed15d43 Export ol.format.TopoJSON 2014-01-20 15:51:28 +01:00
Tom Payne 3e95df495e Correct month calculation in ol.format.IGC 2014-01-20 11:21:59 +01:00
Tom Payne 3ae526efc5 Merge pull request #1541 from twpayne/vector-api-gpx
[vector-api] Add ol.format.GPX
2014-01-17 07:39:56 -08:00
Tom Payne 4e21333503 Merge pull request #1543 from twpayne/vector-api-igc-fix-time
[vector-api] Fix date calculation in ol.format.IGC
2014-01-17 06:24:13 -08:00
Tom Payne 917b6cda8f Add ol.source.GPX 2014-01-16 22:44:18 +01:00
Tom Payne fa89c1c3a3 Add ol.format.GPX 2014-01-16 22:44:18 +01:00
Tom Payne 14dafbd26a Add ol.format.XSD 2014-01-16 22:44:18 +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 7cfca09632 Fix date calculation in ol.format.IGC 2014-01-16 20:04:06 +01:00
Tom Payne 92b852c512 Remove unused extractAttributes and extractStyles options 2014-01-16 19:43:47 +01:00
Antoine Abt c8e7c9f64e Add support for reading id & properties 2014-01-16 10:25:19 +01:00
Antoine Abt dfbdd61701 Add new TopoJSON format. 2014-01-16 10:25:17 +01:00