Commit Graph
98 Commits
Author SHA1 Message Date
Antoine Abt edd69ac95f Remove unneeded selectors, share font-family definitions 2014-02-17 12:30:57 +01:00
Antoine Abt a658435e38 Merge pull request #1705 from tonio/geojson_null_geometry
Allow GeoJSON features to have `null` geometries.
2014-02-17 08:23:05 +01:00
Antoine Abt 04f1f2120b Merge pull request #1697 from tonio/remove_renderer_guess
Remove `ol.RendererHints.createFromQueryData` from the library
2014-02-17 08:21:18 +01:00
Antoine Abt 24ee4cb742 [GeoJSON] Add support for feature with null geometries 2014-02-14 15:12:16 +01:00
Antoine Abt d9c5102bcd Add failing test for feature with null geometries 2014-02-14 15:02:49 +01:00
Antoine Abt 1970285066 Merge pull request #1704 from tonio/fix_fullscreen
Prevent OSX Safari to display distorted map
2014-02-14 13:55:28 +01:00
Antoine Abt bb50d5936f Prevent OSX Safari to display distorded map 2014-02-14 11:32:00 +01:00
Antoine Abt 4478d6c34c Fixes mobile fullscreen example (no mode chooser) 2014-02-14 09:32:14 +01:00
Antoine Abt 4dd8c248f5 Remove ol.RendererHints.createFromQueryData 2014-02-14 09:32:14 +01:00
Antoine Abt 21bfdb1d1e Add example extern for exampleNS 2014-02-14 09:32:14 +01:00
Antoine Abt b169ef2094 Add renderer guess in example shared file
& use it in every example.
2014-02-13 17:21:03 +01:00
Antoine Abt 2369ac62eb Load example-behaviour before example script 2014-02-13 17:21:02 +01:00
Antoine Abt 196f6cccfd Merge pull request #1689 from tonio/fix_modify
Check for geometries type instead of `instanceof`
2014-02-12 15:51:32 +01:00
Antoine Abt f8a748d7f4 Fix MultiPoint modify 2014-02-12 15:26:57 +01:00
Antoine Abt 56a1f053ff Check geometry type instead of instanceof 2014-02-12 15:25:47 +01:00
Antoine Abt 715966a8d1 Add MultiPoint to modify example 2014-02-12 15:24:32 +01:00
Antoine Abt 0764ea99ee Merge pull request #1654 from tonio/vector-api-modify
Add Modify Interaction
2014-02-11 16:59:43 +01:00
Antoine Abt 03624b5f78 Check segment writers existence 2014-02-11 14:36:54 +01:00
Antoine Abt 25ba60db9f Use closure for styles & fix case 2014-02-10 11:52:58 +01:00
Antoine Abt 919fbe335f Use strings for GeometryType in examples 2014-02-10 11:26:14 +01:00
Antoine Abt f9b6eabfef %s/render.FeaturesOverlay/FeatureOverlay/ 2014-02-10 11:26:14 +01:00
Antoine Abt 0272659118 Remove useless style method 2014-02-10 11:26:14 +01:00
Antoine Abt c95ffe381b Render style for Point inside GeometryCollection. 2014-02-10 11:26:14 +01:00
Antoine Abt 72675bf6ad Make interaction ctor only have an option object 2014-02-10 11:26:13 +01:00
Antoine Abt 5325af26d6 Store mouse last position to draw vertex at feature selection 2014-02-10 11:26:13 +01:00
Antoine Abt 9d591ba7ef Use Select interaction in modify interaction example. 2014-02-10 11:26:13 +01:00
Antoine Abt e64766f01f Add support for GeometryCollection in modify interaction 2014-02-10 11:26:13 +01:00
Antoine Abt a60203f931 Move segment writers in their own methods 2014-02-10 11:26:13 +01:00
Antoine Abt ad1cec84a1 Add style for Geomettry Collection 2014-02-07 14:52:59 +01:00
Antoine Abt 1c4926b591 Ensure styles are defined in FeaturesOverlay 2014-02-07 14:52:59 +01:00
Antoine Abt 933ef64db1 Force remove vertexFeature when there’s no features left in FeaturesOverlay 2014-02-07 14:52:59 +01:00
Antoine Abt fb637aedca Move variables declaration at the top 2014-02-07 14:52:59 +01:00
Antoine Abt 20ea1b5141 Bring MultiPolygons back in examples 2014-02-07 14:52:59 +01:00
Antoine Abt a1d20182fe Make modify interaction use FeaturesOverlay
Instead of a whole map.
2014-02-07 14:52:58 +01:00
Antoine Abt 8f9e2ea88d Merge pull request #1649 from tonio/geometrycollection_change
Make GeometryCollection propagate change events of its geometries.
2014-02-06 16:33:13 +01:00
Antoine Abt f2c18fafb8 Make GeometryCollection dispatch change event'
When one of its component changes.
2014-02-06 15:55:02 +01:00
Antoine Abt ef27ed7aef Add failing test for change event propagation 2014-02-06 10:31:01 +01:00
Antoine Abt af45161ea2 Merge pull request #1496 from tonio/vector-api-topojson
[vector-api] Add TopoJSON format
2014-01-16 05:55:40 -08:00
Antoine Abt 58d90e31ff Better styling in example 2014-01-16 10:25:20 +01:00
Antoine Abt c8e7c9f64e Add support for reading id & properties 2014-01-16 10:25:19 +01:00
Antoine Abt 1dce04b6ec Make TopoJSON tests use new format 2014-01-16 10:25:19 +01:00
Antoine Abt 938d74a785 Add TopoJSONOptions literals for source & format 2014-01-16 10:25:18 +01:00
Antoine Abt d2e8b9f3bb Bring tests back 2014-01-16 10:25:18 +01:00
Antoine Abt a69f62e238 Add TopoJSON source & use it in example 2014-01-16 10:25:18 +01:00
Antoine Abt 000e9ad82d Bring topojson examples back 2014-01-16 10:25:18 +01:00
Antoine Abt dfbdd61701 Add new TopoJSON format. 2014-01-16 10:25:17 +01:00
Antoine Abt 979b7485b5 Move format exports into child classes.
To only export implemented methods.
2014-01-16 10:25:17 +01:00
Antoine Abt fec4fd6d2f Merge pull request #1452 from tonio/vector-api-dragbox-webgl
[vector-api] Re-enable dragzoom for every renderer
2014-01-03 07:46:14 -08:00
Antoine Abt 2ebfba2235 add Immediate renderer to webgl layer postcompose event 2014-01-03 16:38:25 +01:00
Antoine Abt 6dd504dcb2 Animate DragZoom 2014-01-03 16:38:25 +01:00
Antoine Abt 3461b026b6 Do not draw a rotated box, in dragbox/dragzoom
Use pixels to draw a straight box, perserving rotation while zooming
2014-01-03 11:55:28 +01:00
Antoine Abt 47d9fd354b Remove dragzoom example
Since it has been re-added to default controls
2014-01-03 11:55:28 +01:00
Antoine Abt 39cf993b39 Revert "Remove DragZoom from default interactions"
This reverts commit c2330b9786.
2014-01-03 11:55:27 +01:00
Antoine Abt 1142d55565 Add skeleton for webgl immediate renderer 2014-01-03 11:55:27 +01:00
Antoine Abt f93a404adf Merge pull request #1422 from tonio/vector-api-dragbox
[vector-api] Refactor DragZoom
2013-12-20 06:32:34 -08:00
Antoine Abt 8354400e52 Add dragzoom example, configured with canvas renderer 2013-12-20 15:24:53 +01:00
Antoine Abt c2330b9786 Remove DragZoom from default interactions
As it only works with canvas renderer.
2013-12-20 15:24:53 +01:00
Antoine Abt adfe20dd12 Make DragBox interaction dispatch events
- boxstart/boxend events are dispatched,
- behavior is removed,
- geometry drawn by box render is a simple polygon instead of one with hole.
2013-12-20 15:24:53 +01:00
Antoine Abt 43b8a72e62 Add ol.DragBoxEvent 2013-12-20 15:24:52 +01:00
Antoine Abt 0eb00ba86b Remove dragbox.exports 2013-12-20 11:11:53 +01:00
Antoine Abt 2eba705ccc Merge pull request #1356 from tonio/vector-api-multiplegeom
[vector-api] add support for features with multiples geometries
2013-12-19 08:11:52 -08:00
Antoine Abt cd500b2917 Merge pull request #1410 from tonio/examples_css
fix hover style on zoom buttons in examples
2013-12-18 06:16:30 -08:00
Antoine Abt 81d2e74abb fix hover style on zoom buttons in examples 2013-12-18 14:28:07 +01:00
Antoine Abt add3cf2233 Remove useless "geometry" FeatureProperty 2013-12-18 14:20:11 +01:00
Antoine Abt 59df68fe68 Update property change listener 2013-12-18 14:20:08 +01:00
Antoine Abt 97ed71dfe2 Remove useless export (already defined in code) 2013-12-18 11:40:00 +01:00
Antoine Abt 4fc6c36724 Add support for features with multiples geometries 2013-12-18 11:37:35 +01:00
Antoine Abt 052be82288 Doc fixes for Event.triggerEvent - no functional change. 2012-06-06 12:17:24 +03:00
Antoine Abt dc3414d6dd Merge pull request #482 from nachouve/master
Just a small spelling corrections in the documentation.
2012-05-22 05:05:51 -07:00
Antoine Abt 99da137be0 Merge pull request #381 from gravitystorm/patch-1
Fix typo
2012-04-02 06:16:31 -07:00
Antoine Abt eb74d93d48 Merge pull request #355 from tonio/blue
Zoom control, back to blue
2012-03-27 00:03:25 -07:00
Antoine Abt 935c56961b Merge pull request #356 from tonio/transition
Add css transitions to mobile example stylesheet
2012-03-26 23:50:25 -07:00
Antoine Abt 87763af644 add css transition for mobile examples 2012-03-26 22:19:00 +02:00
Antoine Abt 8f3f5d1366 blue’s back — Zoom control refresh 2012-03-26 21:53:11 +02:00
Antoine Abt f90c3503e2 Merge pull request #336 from tonio/examples
fixes mobile examples which were using ZoomPanel
2012-03-19 06:51:54 -07:00
Antoine Abt ffa71c0d1a update doc in mobile navigation 2012-03-19 14:47:02 +01:00
Antoine Abt d81f0796d4 fixes mobile examples which were using ZoomPanel 2012-03-19 14:42:34 +01:00
Antoine Abt 2b41c8926b Merge pull request #321 from tonio/zoomdefault
Make Zoom control be default instead of PanZoom.
2012-03-19 00:50:53 -07:00
Antoine Abt b10e6707e6 fixes button stay «active» on mobile, in default theme, and mobile example stylesheet 2012-03-18 20:43:33 +01:00
Antoine Abt 457f0285b5 better readability of button with text-shadow 2012-03-18 20:42:25 +01:00
Antoine Abt e50c44b63c update doc for control fallback 2012-03-15 10:12:38 +01:00
Antoine Abt a96c2da6c2 add PanZoom control if Zoom isn’t in build 2012-03-14 22:31:47 +01:00
Antoine Abt ee7efdeb08 trailing spaces 2012-03-14 20:25:07 +01:00
Antoine Abt 23b0971c2f update mobile example to use Zoom control. update build config file 2012-03-14 20:25:07 +01:00
Antoine Abt b2727c88f2 make Zoom default instead of PanZoom 2012-03-14 20:25:07 +01:00
Antoine Abt bed3edeb46 Merge pull request #281 from ejn/master
Improve iconOn/iconOff class name matching in Panel.js; add unit tests
2012-03-13 00:37:54 -07:00
Antoine Abt 35a6407820 cosmetic changes on zoom control 2012-03-06 09:16:09 +01:00
Antoine Abt 4b971a12b2 Merge pull request #201 from tonio/labeldefault
re-add default labelAlign
2012-02-06 13:50:06 -08:00
Antoine Abt 0d27dc82ae re-add default labelAlign, but avoid duplicate declaration accross renderers 2012-02-06 21:45:57 +01:00
Antoine Abt 188be77570 Merge pull request #140 from aabt/outline
Add label outline to SVG and Canvas renderers
2012-01-17 04:45:50 -08:00
Antoine Abt 4c22ceee4a Document default labelAlign 2012-01-17 12:24:02 +01:00
Antoine Abt 58468c2850 don’t set labelAlign twice in example 2012-01-17 11:38:54 +01:00
Antoine Abt 71d9d36266 when removeText, remove its outline too 2012-01-12 10:41:34 +01:00
Antoine Abt 241162a4bc update comments for supported renderers 2012-01-06 10:32:28 +01:00
Antoine Abt be585c5f23 Add support for SVG renderer ( Heavily inspired from rdewit’s patch http://trac.osgeo.org/openlayers/ticket/2965 ) 2012-01-05 17:32:00 +01:00
Antoine Abt 5be7e7f844 don’t duplicate defaults in renderers 2012-01-05 10:26:05 +01:00
Antoine Abt 0ff9d54d5c better alignment 2012-01-04 11:00:29 +01:00
Antoine Abt 6be48e9ef9 Basic support for canvas only (patch from trac #3503) 2012-01-04 10:59:51 +01:00