Tim Schaub
c038c0cb06
Merge pull request #1640 from tschaub/reproject
...
Use projection option instead of reprojectTo for vector file sources. The projection of the vector source represents the projection of the cached features.
2014-02-04 17:07:59 -08: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
Éric Lemoine
a91e6e2442
Accept string for keyboardEventTarget option
2014-02-04 15:48:44 +01:00
Éric Lemoine
cf5aada8cf
Add a keyboardEventTarget option to the map
...
This option allows specifying the element to listen to keyboard events on.
2014-02-04 15:46:50 +01:00
Tom Payne
016efd22d1
Merge pull request #1636 from twpayne/fix-text-bug
...
Fix typo in text rendering
2014-02-04 06:32:51 -08:00
BRANDLI Nicolas
447814e1a9
Fix typo in text rendering
2014-02-04 15:27:59 +01:00
Tom Payne
ea65836edd
Merge pull request #1633 from twpayne/no-fail-in-topojson
...
Don't fail when no featues are found in ol.format.TopoJSON
2014-02-04 04:39:42 -08:00
Tom Payne
4beb48fa3d
Assert that pixel is non-null when positioning overlay
2014-02-04 11:47:49 +01:00
Tom Payne
6455c920f6
Make ol.Map#isDef checking stricter
2014-02-04 11:47:49 +01:00
Tim Schaub
d2cd0808a8
Use projection option instead of reprojectTo
...
The projection option for vector file sources currently has no good meaning. The reprojectTo option is used to set the projection for cached features. This change makes it so the projection option is used for this purpose. The getProjection method (not currently exported) can then be used to get the cached feature projection.
This also removes the default of 'EPSG:3857' for vector file sources. If a projection is not configured, features will not be transformed.
2014-02-03 18:13:25 -07: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
46396ad0f7
Set ol.render.canvas.defaultTextBaseline to middle
2014-02-03 15:49:06 +01:00
Tom Payne
b6a7bc1248
Add ol.render.canvas.TextReplay
2014-02-03 15:49:06 +01:00
Tom Payne
f24bd65f40
Add ol.render.canvas.Instruction.SET_TEXT_STYLE
2014-02-03 15:49:06 +01:00
Tom Payne
c29b88c0e2
Add ol.render.canvas.Instruction.DRAW_TEXT
2014-02-03 15:49:06 +01:00
Tom Payne
a780936805
Fix getInteriorPoint calculation to always return a point
2014-02-03 15:49:06 +01:00
Tom Payne
3c16e03ae2
Pass offset and end to ol.extent.extendFlatCoordinates
2014-02-03 15:49:05 +01:00
Tom Payne
60f104c895
Refactor ol.render.canvas.Immediate to render text
2014-02-03 15:49:05 +01:00
Tom Payne
745da0cfc3
Add ol.render.canvas.TextState
2014-02-03 15:49:05 +01:00
Tom Payne
e2b2c7f3e0
Add ol.render.canvas.StrokeState
2014-02-03 15:49:05 +01:00
Tom Payne
5645a7e603
Add ol.render.canvas.FillState
2014-02-03 15:49:05 +01:00
Tom Payne
37f31c25df
Set ol.render.canvas.defaultTextAlign to center
2014-02-03 15:49:05 +01:00
Tom Payne
131f22efa5
Don't use a color name in ol.render.canvas.defaultStrokeStyle
2014-02-03 15:49:05 +01:00
Tom Payne
0137987015
Add scale to ol.style.Text
2014-02-03 15:49:04 +01:00
Tom Payne
16d98c5506
Remove ol.style.Text.equals
2014-02-03 15:49:04 +01:00
Tom Payne
09027316f5
Add text rendering to ol.renderer.vector
2014-02-03 15:49:04 +01:00
Tom Payne
090e3cbdd6
Add ol.render.IRender#drawText
2014-02-03 15:49:04 +01:00
Tom Payne
fec7d21f62
Add ol.render.ReplayType.TEXT
2014-02-03 15:49:04 +01:00
Tom Payne
4fb82961df
Replace ol.geom.MultiPolygon#getInteriorPoints with getFlatInteriorPoints
2014-02-03 15:49:04 +01:00
Tom Payne
40eb21f445
Replace ol.geom.Polygon#getInteriorPoint with getFlatInteriorPoint
2014-02-03 15:49:04 +01:00
Tom Payne
e251527284
Make ol.geom.flat.linearRingssGetInteriorPoints return flat coordinates
2014-02-03 15:49:03 +01:00
Tom Payne
db4c7d5d74
Make ol.geom.flat.linearRingsGetInteriorPoint return flat coordinates
2014-02-03 15:49:03 +01:00
Tom Payne
a37199675c
Add ol.geom.MultiLineString#getFlatMidpoints
2014-02-03 15:49:03 +01:00
Tom Payne
8e46c91bae
Add ol.geom.LineString#getFlatMidpoint
2014-02-03 15:49:03 +01:00
Tom Payne
155d204938
Make ol.geom.flat.lineStringInterpolate return flat coordinates
2014-02-03 15:49:03 +01:00
Tom Payne
23ade59d2f
Add FIXME
2014-02-03 15:49:03 +01:00
Tom Payne
846d75bf77
Remove unnecessary typecast
2014-02-03 15:49:03 +01:00
Tom Payne
8731766f63
Merge pull request #1626 from twpayne/api-stability
...
Add @todo stability experimental to many classes and methods
2014-02-03 06:47:43 -08:00
Tom Payne
6f0947a697
Add stability annotation to ol.source.ImageCanvas
2014-02-03 14:59:16 +01:00
Tom Payne
4917cc8437
Add stability annotation to ol.source.ImageVector
2014-02-03 14:59:16 +01:00
Tom Payne
33dd1371c8
Add stability annotation to ol.interaction.Select
2014-02-03 14:59:15 +01:00
Tom Payne
b43148982a
Add stability annotation to ol.interaction.Draw
2014-02-03 14:59:15 +01:00
Tom Payne
0413dcb562
Add stability annotation to ol.render.FeaturesOverlay
2014-02-03 14:59:15 +01:00
Tom Payne
76145fde74
Add stability annotation to ol.layer.Vector
2014-02-03 14:59:15 +01:00
Tom Payne
5590ae2a48
Add stability annotation to ol.source.TopoJSON
2014-02-03 14:59:15 +01:00
Tom Payne
6be4638aa0
Add stability annotation to ol.source.KML
2014-02-03 14:59:15 +01:00
Tom Payne
54e340f281
Add stability annotation to ol.source.IGC
2014-02-03 14:59:14 +01:00
Tom Payne
1427d5284f
Add stability annotation to ol.source.GPX
2014-02-03 14:59:14 +01:00
Tom Payne
1e55c69a32
Add stability annotation to ol.source.GeoJSON
2014-02-03 14:59:14 +01:00
Tom Payne
4178d3f434
Add stability annotation to ol.source.VectorFile
2014-02-03 14:59:14 +01:00