Commit Graph
100 Commits
Author SHA1 Message Date
Tom Payne 99aa9f207d Use ol.xml.isDocument in ol.format.XML 2014-02-04 22:19:53 +01:00
Tom Payne a5bb4632e5 Add ol.xml.isDocument 2014-02-04 22:19:51 +01:00
Tom Payne b63d0083f2 Use ol.xml.load in ol.source.VectorFile 2014-02-04 17:36:56 +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 591a6cd9d2 Add ol.xml.load 2014-02-04 17:36:56 +01:00
Tom Payne 2b268e284e Fix closing tag in tests 2014-02-04 17:36:56 +01:00
Tom Payne 62114a73e2 Fix typo in tests 2014-02-04 17:36:56 +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
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 c5cf2ccd16 Merge pull request #1609 from twpayne/stricter-map-defined
Stricter map defined
2014-02-04 02:56:56 -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
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 b567b888b0 Merge pull request #1586 from twpayne/text
Add text rendering
2014-02-03 08:37:50 -08:00
Tom Payne 1f4ab82210 Highlight text in vector-layer example 2014-02-03 16:17:52 +01:00
Tom Payne 46396ad0f7 Set ol.render.canvas.defaultTextBaseline to middle 2014-02-03 15:49:06 +01:00
Tom Payne 81eed8ea01 Add text to vector-layer example 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
Tom Payne ccfae72e8e Add stability annotation to ol.source.Vector 2014-02-03 14:59:14 +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 dc9cb31c27 Add stability annotation to ol.Feature 2014-02-03 14:59:13 +01:00
Tom Payne 415b5ad85e Add stability annotation to ol.style.Circle 2014-02-03 14:59:13 +01:00
Tom Payne fdc80c4f97 Add stability annotation to ol.geom.Circle 2014-02-03 14:59:13 +01:00
Tom Payne 33ac759d35 Add stability annotation to ol.geom.GeometryCollection 2014-02-03 14:59:13 +01:00
Tom Payne b38858952f Add stability annotation to ol.geom.MultiPolygon 2014-02-03 14:59:12 +01:00
Tom Payne f8570137ed Add stability annotation to ol.geom.MultiLineString 2014-02-03 14:59:12 +01:00
Tom Payne 337def8089 Add stability annotation to ol.geom.MultiPoint 2014-02-03 14:59:12 +01:00
Tom Payne 8f50d0f097 Add stability annotation to ol.geom.Polygon 2014-02-03 14:59:12 +01:00
Tom Payne e10bb6d3aa Add stability annotation to ol.geom.LinearRing 2014-02-03 14:59:12 +01:00
Tom Payne 88f0f99fa3 Merge pull request #1624 from twpayne/clean-up-circle
Minor ol.geom.Circle clean-ups
2014-02-03 05:57:17 -08:00
Tom Payne 43720fc81d Add stability annotation to ol.geom.LineString 2014-02-03 14:45:00 +01:00
Tom Payne 0ed865efe4 Add stability annotation to ol.geom.Point 2014-02-03 14:45:00 +01:00
Tom Payne c4b7a32751 Add stability annotation to ol.geom.SimpleGeometry 2014-02-03 14:45:00 +01:00
Tom Payne 08ec3480ed Add stability annotation to ol.geom.Geometry 2014-02-03 14:45:00 +01:00
Tom Payne ce1da8b57a Add stability annotation to ol.Observable 2014-02-03 14:45:00 +01:00
Tom Payne 2b42e89580 Add stability annotation to ol.Object#getProperties 2014-02-03 14:44:59 +01:00
Tom Payne aff32ab676 Use getRadiusSquared_ in ol.geom.Circle#containsXY 2014-01-30 16:04:24 +01:00
Tom Payne 82341c779a Factor out ol.geom.Circle#getRadiusSquared_ 2014-01-30 16:04:24 +01:00
Tom Payne df9369e663 Merge pull request #1621 from twpayne/clean-ups
Miscellaneous clean-ups
2014-01-30 04:16:27 -08:00
Tom Payne 8383f761cf Merge pull request #1622 from twpayne/fix-circle-containsxy
Fix bug in ol.geom.Circle#containsXY, thanks @vdubr
2014-01-30 02:49:51 -08:00
Tom Payne e08b2bd0bf Fix bug in ol.geom.Circle#containsXY, thanks @vdubr 2014-01-30 11:29:35 +01:00
Tom Payne b6af02a762 Add ol.ENABLE_VECTOR to control inclusion of vector layer renderers 2014-01-30 11:20:59 +01:00
Tom Payne 7e020e4d26 Add ol.ENABLE_TILE to control inclusion of tile layer renderers 2014-01-30 11:20:59 +01:00
Tom Payne 8b128ece81 Add ol.ENABLE_IMAGE to control inclusion of image layer renderers 2014-01-30 11:20:59 +01:00
Tom Payne 2f50b9dc84 Sort layer types alphabetically 2014-01-30 11:20:59 +01:00
Tom Payne ce3209a439 Improve type checking in ol.Object#bindTo 2014-01-30 11:20:59 +01:00
Tom Payne c5dd7988c9 Use ol.ENABLE_* to help Compiler eliminate unreachable code 2014-01-30 11:20:59 +01:00
Tom Payne 18bbf5bcec Improve type checking in ol.Map 2014-01-30 11:20:59 +01:00
Tom Payne e85cc8b80e Improve type checking in ol.interaction.Select 2014-01-30 11:20:58 +01:00
Tom Payne 7516aab1ca Fix option property in ol.interaction.KeyboardPan 2014-01-30 11:20:58 +01:00
Tom Payne c8999a5e52 Don't attempt to use Uint8Array in ol.geom.simplify.douglasPeucker 2014-01-30 11:20:58 +01:00
Tom Payne a52dbbb09e Improve type checking in ol.geom.Circle#setCenterAndRadius 2014-01-30 11:20:58 +01:00
Tom Payne 0a537d5e86 Improve type checking in ol.format.Polyline.decodeDeltas 2014-01-30 11:20:58 +01:00
Tom Payne a0d79fe98c Improve type checking in ol.events.condition.targetNotEditable 2014-01-30 11:20:58 +01:00
Tom Payne ae5f5ee96d Factor out common variable in ol.dom.Input 2014-01-30 11:20:58 +01:00
Tom Payne 97cabd273a Improve use of View2D in ol.control.ZoomToExtent 2014-01-30 11:20:57 +01:00
Tom Payne 61ed9a106c Merge pull request #1618 from twpayne/fix-select-interaction
Use event properties in ol.interaction.Select
2014-01-29 06:51:37 -08:00
Tom Payne 9c91cb4fe4 Use event properties in ol.interaction.Select 2014-01-29 15:40:53 +01:00