Commit Graph

12059 Commits

Author SHA1 Message Date
Tom Payne
3b3b5013ad Merge remote-tracking branch 'openlayers/master' into vector-api 2014-01-09 15:33:58 +01:00
Tom Payne
9961e489cb Merge pull request #1495 from oterral/vector-api
[vector-api] Add ol.color.asArray and ol.color.asString exports
2014-01-09 05:31:46 -08:00
oterral
1d9d67f524 Add ol.color.asArray and ol.color.asString exports 2014-01-09 14:14:27 +01:00
Frédéric Junod
bed7084200 Merge pull request #1491 from fredj/const-annotation
Create 'type' annotation for 'const' variables
2014-01-09 04:32:28 -08:00
Tom Payne
5f7e53617b Merge pull request #1481 from twpayne/vector-api-kml-default-style
[vector-api] Configurable default styling for KML
2014-01-09 02:43:48 -08:00
Tom Payne
7ce7bb2187 Merge remote-tracking branch 'openlayers/master' into vector-api 2014-01-09 11:42:14 +01:00
Éric Lemoine
b13256735e Merge pull request #1492 from oterral/vector-api
[vector-api] Export ol.style.Image#getScale
2014-01-09 02:04:00 -08:00
oterral
db85936de2 Export ol.style.Image#getScale 2014-01-09 10:54:57 +01:00
Frederic Junod
80cae77161 Add 'const' annotation to ol.MapBrowserEvent.browserEvent 2014-01-09 10:32:30 +01:00
Frederic Junod
9f79d33486 Create 'type' annotation for 'const' variables
From https://developers.google.com/closure/compiler/docs/js-for-compiler:
  "The type declaration and additional comment are optional. If you
  provide a type declaration, put the declaration on a separate line."
2014-01-09 09:53:20 +01:00
Tom Payne
dcd2853d2d Add ol.source.KML defaultStyle option 2014-01-08 18:22:20 +01:00
Tom Payne
6b94baf291 Add ol.format.KML defaultStyle option 2014-01-08 18:22:19 +01:00
Éric Lemoine
2cc4dd8985 Merge pull request #1413 from oterral/vector-api-draw
[vector-api] drawing interaction
2014-01-08 07:54:18 -08:00
oterral
e3810b5027 Add draw features example 2014-01-08 16:40:14 +01:00
oterral
34260399e7 Add draw features interaction 2014-01-08 16:40:14 +01:00
oterral
b508469d22 Minor fix in FeatureOverlay 2014-01-08 16:39:52 +01:00
Frédéric Junod
1e334bffdb Merge pull request #1488 from fredj/vector-api-image-pixelRatio
[vector-api] Scale the image size and anchor by pixelRatio
2014-01-08 07:37:42 -08:00
Éric Lemoine
7bf6fd59a0 Merge pull request #1485 from elemoine/vector-api-exports
[vector-api] Export ol.format.KML#readName
2014-01-08 06:17:21 -08:00
Frederic Junod
3f751a5903 Scale the image size and anchor by pixelRatio 2014-01-08 14:25:50 +01:00
Bart van den Eijnden
73fcff641e Merge pull request #1486 from bartvde/mapquest-hybrid
add hybrid layer to ol.source.MapQuest (r=@twpayne)
2014-01-08 05:15:05 -08:00
Frédéric Junod
ea678ef195 Merge pull request #1487 from fredj/cleanup
ol.TileCoord: add @struct annotation and use the ol.TileCoord.createOrUpdate function
2014-01-08 04:40:53 -08:00
Bart van den Eijnden
78d20056f5 update all the other examples that used MapQuest 2014-01-08 13:36:35 +01:00
Bart van den Eijnden
473a11c697 use a single ol.source.MapQuest and use a const for the tile attribution 2014-01-08 13:23:47 +01:00
Bart van den Eijnden
1b48572c6e add ol.source.MapQuestHybrid and add all MapQuest types to the example 2014-01-08 12:05:19 +01:00
Frederic Junod
34e75b3d9d Add @struct annotation to ol.TileCoord class 2014-01-08 11:48:15 +01:00
Éric Lemoine
0fa748699a Export ol.source.Vector#forEachFeatureInExtent 2014-01-08 11:40:20 +01:00
Frederic Junod
8c61dbef8a Use ol.TileCoord.createOrUpdate function 2014-01-08 11:38:12 +01:00
Éric Lemoine
fd6756e465 Export ol.format.KML#readName 2014-01-08 11:35:09 +01:00
Éric Lemoine
47056f6012 Remove useless code 2014-01-08 10:59:36 +01:00
Éric Lemoine
2bdae3d08a Merge pull request #1483 from elemoine/vector-api-anchor-units
[vector-api] Support different anchor units in ol.style.Icon
2014-01-08 01:13:19 -08:00
Éric Lemoine
49120e4761 Icon anchors are Array.<number> 2014-01-08 10:07:01 +01:00
Éric Lemoine
5efc692b9d Add typecast to icon example 2014-01-08 00:44:00 +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
Éric Lemoine
09e5574350 Use anchorXUnits and anchorYUnits in icon example 2014-01-08 00:24:55 +01:00
Éric Lemoine
a0a94414dd Add anchorXUnits and anchorYUnits options to ol.style.Icon 2014-01-08 00:24:55 +01:00
Éric Lemoine
a1ffa170a9 Merge pull request #1480 from elemoine/vector-api-features-overlay
[vector-api] Add ol.FeaturesOverlay#addFeature and #removeFeature
2014-01-07 07:24:05 -08:00
Éric Lemoine
643c981074 Use FeaturesOverlay in vector-layer example
This demonstrates how to use ol.FeaturesOverlay for feature highlighting.
2014-01-07 15:15:43 +01:00
Tom Payne
2ab1082737 Merge pull request #1479 from twpayne/vector-api-draw-order
[vector-api] Draw vector features in the order polygons, lines, images
2014-01-07 05:29:24 -08:00
Éric Lemoine
6556726541 ol.FeaturesOverlay creates a features collection
ol.FeaturesOverlay creates an empty collection of features if the features option is not specified.
2014-01-07 14:13:57 +01:00
Éric Lemoine
8c0406b390 Add ol.FeaturesOverlay#removeFeature 2014-01-07 14:13:57 +01:00
Éric Lemoine
0b4970ae46 Add ol.FeaturesOverlay#addFeature 2014-01-07 14:13:57 +01:00
Tom Payne
c816d0105d Replay groups in defined order 2014-01-07 13:58:21 +01:00
Tom Payne
f2dbf4c145 Add ol.render.REPLAY_ORDER 2014-01-07 13:58:21 +01:00
Tom Payne
a313331098 Fix StyleFunction type namespace 2014-01-07 13:57:56 +01:00
Éric Lemoine
fdb154f5d7 Merge pull request #1433 from twpayne/vector-api-export-featuresoverlay
[vector-api] Export ol.render.FeaturesOverlay
2014-01-07 04:46:04 -08:00
Éric Lemoine
4e4e3c24b4 Merge pull request #1478 from elemoine/groupstate
Source state of a layer doesn't depend on group
2014-01-07 04:29:09 -08:00
Éric Lemoine
dacb747eb5 Source state of a layer doesn't depend on group 2014-01-07 13:03:31 +01:00
Frédéric Junod
b8bc7b3a2a Merge pull request #1477 from fredj/cleanup
Remove extra parameters when calling ol.test.source.TileMock.getTile
2014-01-07 03:35:38 -08:00
Frederic Junod
0fda88dca3 Remove extra parameters when calling ol.test.source.TileMock.getTile 2014-01-07 12:17:17 +01:00