Commit Graph

63 Commits

Author SHA1 Message Date
mike-000 47a4a63e3e Test name labels for points in MultiGeometry 2020-02-05 23:51:48 +00:00
mike-000 0fb4b62b9b Test name labels for points in MultiGeometry 2020-02-05 23:26:11 +00:00
mike-000 3c2dfb511a Fix Polystyle outline 0 conflict with Linestyle
Return separate style objects for polygon geometries (including multipolygon and polygons in geometry collections) and other geometries if Polystyle outline is defined as 0
Rearrange code to reduce cloning of styles in createNameStyleFunction

Update Polystyle outline 0 tests
Check for separate style objects applying to LineString and Polygon geometries
Test LineString and Polygon geometries in a collection
2020-02-02 11:28:07 +00:00
mike-000 e2b42c100f Include html character code in text style test 2020-01-19 12:02:16 +00:00
mike-000 bf23dca068 Include html character code in text style test 2020-01-19 11:42:59 +00:00
mike-000 730008cfad Make feature styles compatible with declutter
Update expected result to single style object to reflect change
Remove duplicated test
2020-01-18 20:00:09 +00:00
mike-000 6596a988c0 Add crossOrigin option for icons
Avoid unnecessary tests by using only one test for the default icon crossOrigin,.  In other cases ensure that the specified option is set.
2019-12-12 17:50:50 +00:00
mike-000 f47fa8b407 Add crossOrigin option for icons
Make the crossOrigin setting for icons configurable to avoid errors when KML files reference images when are not CORS enabled
Pass scope in readPlacemark_
and to handle IconStyle in a placemark style map

Test crossOrigin option for icons
Add tests for IconStyle in style maps and shared styles
2019-10-24 11:04:47 +01:00
ahocevar 6252e92555 Make this a non-breaking change 2019-08-08 13:23:03 +02:00
Kai Volland bebd7b6b26 Changes to parsing of KML displayName
To avoid loss of information the behaviour
of parsing the displayName (if a name attribute is
also given) is changed.
2019-08-08 13:14:39 +02:00
lucien 81f99f1579 Write placemark's ExtendedData tag after Style tag 2019-05-07 09:02:28 +02:00
Frederic Junod 276d6a5dc5 Remove ol.FeatureStyleFunction support 2018-02-11 17:52:46 +01:00
Tim Schaub 099cd21c5b Remove private static members from KML format 2018-02-10 10:11:55 -07:00
raiyni 4449da3e63 named exports from ol/xml 2018-02-07 14:42:01 -06:00
Tim Schaub ad62739a6e Use blocked scoped variables
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Tim Schaub aa89746c47 Rename _ol_proj_Projection_ to Projection 2018-01-11 13:33:41 -07:00
Tim Schaub 14ddcf843d Rename _ol_style_Circle_ to CircleStyle 2018-01-11 13:27:54 -07:00
Tim Schaub c5a4be2edd Rename _ol_style_Text_ to Text 2018-01-11 13:25:48 -07:00
Tim Schaub fb22c587f8 Rename _ol_style_Icon_ to Icon 2018-01-11 13:25:01 -07:00
Tim Schaub f4484455aa Rename _ol_style_Stroke_ to Stroke 2018-01-11 13:24:13 -07:00
Tim Schaub dc6ae2293d Rename _ol_style_Fill_ to Fill 2018-01-11 13:23:27 -07:00
Tim Schaub 4f4c90fc20 Rename _ol_style_Style_ to Style 2018-01-11 13:22:43 -07:00
Tim Schaub 22fce4f97b Rename _ol_Feature_ to Feature 2018-01-10 09:35:35 -07:00
Marc Jansen 02002082bf Named exports from ol/array module 2017-12-19 17:22:58 +01:00
Frederic Junod bbd8a3f6ae Rename _ol_style_IconAnchorUnits_ to IconAnchorUnits 2017-12-18 10:58:16 +01:00
Frederic Junod e4446d4cb3 Rename _ol_style_IconOrigin_ to IconOrigin 2017-12-18 10:56:08 +01:00
Tim Schaub e77ef118ea Rename _ol_format_KML_ to KML 2017-12-17 01:58:24 -07:00
Tim Schaub 8656e794ff Rename _ol_format_GeoJSON_ to GeoJSON 2017-12-17 01:42:56 -07:00
Andreas Hocevar 345ce340e4 Named exports for ol/proj/transforms 2017-12-15 18:48:10 +01:00
Tim Schaub 64a0d40361 Rename _ol_geom_LinearRing_ to LinearRing 2017-12-14 09:01:39 -07:00
Tim Schaub 4ea0af87df Rename _ol_geom_GeometryCollection_ to GeometryCollection 2017-12-14 08:59:35 -07:00
Tim Schaub 9d396280b0 Rename _ol_geom_MultiPolygon_ to MultiPolygon 2017-12-14 08:56:51 -07:00
Tim Schaub c502f016f7 Rename _ol_geom_Polygon_ to Polygon 2017-12-14 08:56:12 -07:00
Tim Schaub 3c78cb7872 Rename _ol_geom_MultiLineString_ to MultiLineString 2017-12-14 08:55:33 -07:00
Tim Schaub f7b3876c1b Rename _ol_geom_LineString_ to LineString 2017-12-14 08:54:53 -07:00
Tim Schaub ad5806c29d Rename _ol_geom_MultiPoint_ to MultiPoint 2017-12-14 08:51:53 -07:00
Tim Schaub eadec38ae2 Rename _ol_geom_Point_ to Point 2017-12-14 08:49:10 -07:00
Tim Schaub 6f72ffe498 Named exports from ol/proj 2017-12-14 13:08:40 +01:00
Tim Schaub 7f47883c48 Transformed 2017-12-12 06:53:18 -07:00
Tim Schaub a3e3e99baa Get rid of useless test exports 2017-08-17 15:16:58 -04:00
Tim Schaub 46bcce464f Add missing requires to tests 2017-08-16 13:43:28 -04:00
Tim Schaub 44a976eb60 Run tests in real browsers with Karma 2017-08-16 13:35:31 -04:00
Bart van den Eijnden 23405b80a2 Merge pull request #6825 from oterral/tesselate
Read/write Tessellate tag in KML format
2017-08-10 13:27:40 +02:00
Frederic Junod 382674975e Fix KML ExtendedData reading 2017-06-28 09:51:18 +02:00
Marc Jansen d0ef05977b Autofix indentation issues (eslint --fix) 2017-06-19 11:58:00 +02:00
oterral ca90157e9f Write all geometry's properties in KML 2017-05-17 16:58:59 +02:00
oterral 132634f10c Add parsing of Tessellate tag in KML fomat 2017-05-17 14:26:39 +02:00
simonseyock c027b4d127 Reading kml xunits/yunits insetPixels 2017-03-04 12:24:51 +01:00
Thomas Chandelle 998e1705fa Small XML error in KML test 2017-02-08 13:29:26 +01:00
Frederic Junod 392cbcc138 Enforces spacing around commas 2016-12-14 13:42:47 +01:00