Commit Graph

6006 Commits

Author SHA1 Message Date
Éric Lemoine ddbc1d260c Mark ol.style.Image#getImage with @api 2014-09-30 12:26:07 +02:00
Éric Lemoine af7944ef42 Mark ol.style.Image with @api
This is to be able to do `imageStyle instanceof ol.style.Image` in applications.
2014-09-30 12:26:06 +02:00
Éric Lemoine 4c0bfd8905 More restrictive type for ol.style.Icon#getImage 2014-09-30 12:26:06 +02:00
Éric Lemoine c7ac9502bd More restrictive type for ol.style.Circle#getImage 2014-09-30 12:26:06 +02:00
Guillaume Beraudo 67f4e9c817 Export constructors of ol.source.Source children
Necessary addition to https://github.com/openlayers/ol3/pull/2749.
2014-09-30 09:33:55 +02:00
Frédéric Junod c0fc220298 Merge pull request #2772 from fredj/changefeature
Rename updatefeature event to changefeature
2014-09-30 09:27:58 +02:00
Éric Lemoine 0e3b08d493 Merge pull request #2766 from elemoine/interaction-object
Make interaction "active" an ol.Object property
2014-09-30 09:04:28 +02:00
Frederic Junod cf8738f9f6 Rename updatefeature event to changefeature 2014-09-30 09:02:53 +02:00
xamgreen 704d53e589 getProjektion() instead of getprojektion()
Just a little error that my confuse some people.
2014-09-29 20:01:47 +02:00
Éric Lemoine dede4f379f Make interaction "active" an ol.Object property 2014-09-29 17:31:58 +02:00
Frederic Junod ced15e27c1 Remove rtree example
Fixes #2732
2014-09-29 13:29:52 +02:00
Frederic Junod 98ceee5d28 Fix documentation typo 2014-09-29 09:05:22 +02:00
Frederic Junod aaeb2b6938 Remove unnecessary parentheses 2014-09-29 09:05:22 +02:00
Frederic Junod 6e3a5ca7ca Remove unnecessary newlines 2014-09-29 09:05:22 +02:00
Tim Schaub 2ad27044a6 Correctly generate child tile ranges for XYZ
Instead of incrementing and then doubling, calculate the child tile range by doubling and then incrementing.

With this change, tile coord [0, 0, 0] has the four following children:

    [1, 0, 0]    [1, 1, 0]

    [1, 0, 1]    [1, 1, 1]

Without this change, tile coord [0, 0, 0] had the nine following children:

    [1, 0, 0]    [1, 1, 0]    [1, 2, 0]

    [1, 0, 1]    [1, 1, 1]    [1, 2, 1]

    [1, 0, 2]    [1, 1, 2]    [1, 2, 2]
2014-09-28 12:23:12 -06:00
Éric Lemoine b0b62c6ac3 Merge pull request #2734 from elemoine/bingmaps
Add maxZoom option to BingMaps
2014-09-27 22:34:06 +02:00
Éric Lemoine 00800785d4 Merge pull request #2752 from elemoine/loadfeatures
Call loadFeatures from ol.source.ImageVector
2014-09-25 15:00:52 +02:00
Frédéric Junod 5f51fbc93d Merge pull request #2658 from oterral/fix_getcap
Set inherited values when parsing a GetCapabilities
2014-09-25 13:51:40 +02:00
Frédéric Junod 884fb5736c Merge pull request #2750 from fredj/export-layer-base
Export ol.layer.Base
2014-09-25 10:58:04 +02:00
Frederic Junod 48b9475bb6 Export ol.layer.Base
See #2615
2014-09-25 10:40:03 +02:00
Frederic Junod 4e5120ff71 Export ol.source.Source
Fixes #2615
2014-09-25 10:33:31 +02:00
Frédéric Junod aafe50c30e Merge pull request #2742 from fredj/updatefeature
Dispatch an 'updatefeature' from the vector source
2014-09-25 09:20:15 +02:00
Bart van den Eijnden 0145c4fb5f The getGeometry function of ol.interaction.DragBox always returns ol.geom.Polygon 2014-09-24 11:57:36 +02:00
Frederic Junod 1dcde66839 Fix ol.Feature 'change' event documentation
Setting the id also dispatch a `change` event
2014-09-23 17:40:46 +02:00
Frederic Junod 79b8ef3a53 Dispatch an 'updatefeature' from the vector source 2014-09-23 16:19:00 +02:00
Bart van den Eijnden b8d8acd3fd Merge pull request #2741 from bartvde/issue-2741
issue with reading scientific notation coordinates in ol.format.GML (r=@fredj)
2014-09-23 16:17:36 +02:00
Bart van den Eijnden 2e18f077c8 Correctly parse GML coordinates with capital E in scientific notation 2014-09-23 15:35:12 +02:00
Éric Lemoine fb01814384 Merge pull request #2739 from elemoine/circular
Revert "Function circular renamed to createCircularOnSphere"
2014-09-23 14:47:13 +02:00
Frédéric Junod 7dcb54fb58 Merge pull request #2616 from fredj/attributions-target
Target for attribution links differs between maps
2014-09-23 14:46:11 +02:00
Éric Lemoine 2248d2e012 Skip inactive interactions 2014-09-23 12:37:53 +02:00
Éric Lemoine de319b9ae8 Add ol.interaction.Interaction#setActive and #getActive 2014-09-23 12:37:53 +02:00
Éric Lemoine 6b2a703b35 Use ol.geom.Polygon.circular in ol.Geolocation 2014-09-23 09:43:13 +02:00
Éric Lemoine a94f02e463 Revert "Function circular renamed to createCircularOnSphere"
This reverts commit ac8e7e16c2.
2014-09-23 09:41:03 +02:00
Éric Lemoine f8702e2038 Call loadFeatures from ol.source.ImageVector 2014-09-23 09:36:00 +02:00
Éric Lemoine 23e597eb25 Add maxZoom option to BingMaps 2014-09-22 15:22:31 +02:00
Éric Lemoine 04f5768c76 Merge pull request #2727 from elemoine/createcircular
Rename ol.geom.Polygon#circular to createCircularOnSphere
2014-09-19 11:13:54 +02:00
Éric Lemoine 49a2f2c926 Merge pull request #2730 from elemoine/tolowercase
Do not call toLowerCase when forming a change:property event
2014-09-19 11:07:17 +02:00
Éric Lemoine ad83f83f2c To do call toLowerCase when forming a change:property event 2014-09-18 18:44:45 +02:00
Tim Schaub 9da909dd57 Merge pull request #2728 from tschaub/exports
Mark `ol.extent.getIntersection` as stable.
2014-09-18 07:11:44 -06:00
Éric Lemoine d85d34f3dd Better docs for ol.geom.Polygon#createCircularSphere 2014-09-18 08:48:05 +02:00
Éric Lemoine 122b535393 Better docs for ol.Sphere#offset 2014-09-17 20:22:18 +02:00
Tim Schaub 9f1bdc7c83 Mark ol.extent.getIntersection as stable 2014-09-17 11:24:54 -06:00
Éric Lemoine ac8e7e16c2 Function circular renamed to createCircularOnSphere 2014-09-17 17:59:46 +02:00
Éric Lemoine d335318496 Make ol.Feature#setStyle accept null 2014-09-17 17:52:51 +02:00
Éric Lemoine dfb2734368 Merge pull request #1959 from elemoine/feature-box-selection
Add a feature box selection example
2014-09-17 15:02:23 +02:00
Éric Lemoine f7e81f84db Zoom control should not act on a null view 2014-09-17 13:32:45 +02:00
Éric Lemoine 79932ee2f2 Rotate control should not act on a null view 2014-09-17 13:32:31 +02:00
Éric Lemoine 8660f00917 Do not exec animation functions when frameState is null 2014-09-17 12:49:46 +02:00
Éric Lemoine 72e173d925 Rename ol.extent.segmentIntersects to intersectsSegment 2014-09-17 12:26:26 +02:00
Éric Lemoine 227f3bae18 Add ol.source.Vector#forEachFeatureIntersectingExtent 2014-09-17 12:26:26 +02:00