Marc Jansen
a34e627b75
Remove dangling space in license header.
2013-02-07 10:33:20 +01:00
Tim Schaub
bbc73a21d8
Update copyright date
2013-01-07 22:01:16 -05:00
Bart van den Eijnden
8cc0cdc6a1
incorporate suggestions by @ahocevar and @elemoine
2012-11-07 11:56:04 +01:00
Bart van den Eijnden
a4df9a871b
when using BBOX or Fixed strategies, pass on the filter used in the request to the loadstart event. This is mostly important in the case of BBOX, since there is no other way to get the filter used in the request. An example use case is doing a hitCount request using the same filter to find out the true number of features matched on the server-side
2012-11-07 11:43:18 +01:00
Matt Priour
e8cc0deeb5
Remove extra event firing logic from Layer::setVisibility
2012-10-09 12:21:25 -05:00
Matt Priour
f17a3c70e4
Fire the 'changelayer:visibility' event from layer's display method
...
Move the changelayer event firing logic for in / out of resolution range
from the Map class to the Layer class. Tests have been also been created
to specifically test that the display method works correctly and fires
events only when needed.
2012-10-09 11:10:55 -05:00
Donald Curtis
2696494443
return response object on "loadend" event for Fixed and BBOX strategies
2012-08-08 09:46:58 -05:00
Éric Lemoine
be6c90ed49
Merge branch '2.12'
2012-05-10 15:54:54 +02:00
Éric Lemoine
4ad6bacc5d
when calculating maxResolution from maxExtent and tileSize we dont want to the actual tile size for single layers
2012-05-10 15:42:59 +02:00
Éric Lemoine
743dc9a738
Merge branch '2.12'
2012-05-02 17:11:37 +02:00
ahocevar
179433da2f
For IFrame tiles, we need to set opacity on the IFrame's parent.
2012-04-23 18:46:28 -04:00
ahocevar
a57c56ed96
Revert "Merge pull request #432 from ahocevar/iframe-opacity"
...
This reverts commit af046b9af8 , reversing
changes made to f36fd5f0d1 . The reason for reverting this is that the change breaks the select-feature-multilayer.html example.
2012-04-23 18:03:39 -04:00
ahocevar
11cc960be5
Setting opacity on the IFrame's parent, like we used to do in 2.11.
2012-04-23 10:36:51 -04:00
ahocevar
07114fc894
Setting opacity on the last child.
...
This is required for IFrame tiles, so we don't set the opacity on the event pane. To make this work with vector layers, the defs node needs to be inserted before the root group element instead of after it.
2012-04-23 10:17:20 -04:00
Éric Lemoine
a57738e817
Merge branch '2.12'
2012-04-20 15:29:46 +02:00
Éric Lemoine
f36fd5f0d1
Merge pull request #393 from elemoine/393
...
grid layers may be misplaced
2012-04-20 06:27:27 -07:00
ahocevar
ef33f01504
Respect alwaysInRange from prototype, but allow changes in addOptions.
2012-04-19 12:02:18 +02:00
Éric Lemoine
bfd6be634f
if maxResolution is "auto" calculate maxResolution based on maxExtent and map size, else calculate maxResolution based on maxExtent and tile size
2012-04-11 17:45:34 +02:00
Éric Lemoine
ae75fdacd7
Revert "Merge pull request #116 from elemoine/redraw"
...
This reverts commit 7a5b469192 , reversing
changes made to a719de7e93 .
Conflicts:
tests/Tile/Image.html
2012-04-07 21:07:03 +02:00
Éric Lemoine
58e86a37f5
Revert "Declare zoomChanged."
...
This reverts commit b910a5f4d0 .
2012-04-07 21:02:24 +02:00
Éric Lemoine
8c6466bf2a
move transitionEffect to Layer.Grid.prototype, and discourage the use of transitionEffect:"resize" on non-opaque layers
2012-03-31 21:32:49 +02:00
Éric Lemoine
e0b93c2e45
The OpenLayers code is published under the 2-clause BSD license
2012-03-30 08:33:55 +02:00
Éric Lemoine
650df2a8f1
change copyright header in every OpenLayers js file
2012-03-29 22:14:56 +02:00
Peter Robins
720a815479
Improvements for projection docs
2012-03-27 14:07:58 +02:00
Volker Mische
c02f295836
The loadcancel event doesn't really exist
2012-03-11 17:26:06 +01:00
Peter Robins
e8af06e6ae
Improve docs for bounds/lonlat as array
2012-03-06 11:30:28 +00:00
Éric Lemoine
9a116b21b9
Revert "protect for in loops with hasOwnProperty"
...
This reverts commit e3cc96dbfb .
2012-03-03 22:35:39 +01:00
Bart van den Eijnden
e3cc96dbfb
protect for in loops with hasOwnProperty
2012-02-29 18:43:55 +01:00
Peter Robins
55c18076d3
Make layer opacity api property
2012-02-29 10:40:20 +00:00
ahocevar
85498cb23f
Removing imageOffset and using getImageSize.
...
This fixes a regression that was introduced with the Tile.Image overhaul. See http://trac.osgeo.org/openlayers/ticket/3625 .
2012-02-21 15:06:32 +01:00
Marc Jansen
03ba4dac88
Remove superfluous comment closing (*/), thanks @mprins.
2012-02-16 21:43:36 +01:00
tschaub
2b5ade2dde
Adding back events documentation.
...
When the list of event types became unconstrained in 501b42228a , we lost the documentation for events that are triggered. This change adds the list of events triggered to the API docs for events properties.
2012-02-16 10:36:34 -07:00
ahocevar
262e2d5bc0
Calculating maxResolution instead of having it in defaults.
2012-02-15 21:09:39 +01:00
ahocevar
11966d231f
New OpenLayers.Projection.defaults property.
...
This allows us to simplify the map and layer configuration, because now the projection also defines defaults for maxExtent, maxResolution and units.
This change also adds transforms for SRS aliases for EPSG:4326 and centralizes axis order information in OpenLayers.Projection.defaults.
2012-02-15 11:09:55 +01:00
ahocevar
cebc7e60de
Don't displayOutsideMaxExtent when wrapDateLine is set.
...
p=scaddenp, r=me (closes http://trac.osgeo.org/openlayers/ticket/3616 )
2012-02-10 13:03:18 +01:00
Matt Priour
55b52c6c9f
Create the metadata object in the initialize function, otherwise any assignment to an instance of an OpenLayers.Layer class or subclass add/modifies those properties on the OpenLayers.Layer prototype
2012-01-18 14:41:41 -06:00
Frédéric Junod
1cbd88d230
Merge pull request #137 from fredj/simple-objects
...
Replace Size and Pixel instances with simple objects. r=elemoine,probins,tschaub
2012-01-18 04:12:02 -08:00
Tim Schaub
b910a5f4d0
Declare zoomChanged.
...
The zoomChanged variable has been undeclared since d42eec9775 , causing closure compiler to fail.
2012-01-17 23:04:20 -07:00
Frederic Junod
0af2acddb5
Fix OpenLayers.Layer and OpenLayers.Map apidoc
...
'viewPortPx' parameter for OpenLayers.Layer.getLonLatFromViewPortPx
can be either a Pixel or a simple javascript object. 'lonlat'
parameter for OpenLayers.Layer.getViewPortPxFromLonLat can be either a
LonLat or a simple javascript object.
'px' parameter for OpenLayers.Map.getLonLatFromViewPortPx and
OpenLayers.Map.getLonLatFromPixel can be either a Pixel or a simple
javascript object.
2012-01-15 17:52:36 +01:00
Éric Lemoine
7a5b469192
Merge pull request #116 from elemoine/redraw
...
make Layer.redraw not unconditionally set zoomChanged to true when calling Layer.moveTo
2012-01-13 08:37:09 -08:00
fredj
cbfb68f397
Change all 'Parameter:' to 'Parameters:' in documentation. Non functional change
2012-01-12 09:32:49 +01:00
fredj
04ae5f8db8
Change all 'Return:' to 'Returns:' in documentation. Non functional change
2012-01-12 09:26:49 +01:00
Éric Lemoine
0cc4dc81ec
Merge branch 'master' into redraw
2012-01-04 09:06:29 +01:00
Éric Lemoine
d64bbe1cfc
better doc strings for Layer.resolution
2012-01-04 08:47:55 +01:00
tschaub
b844a3b11b
Happy New Year!
...
Updating copyright to 2012.
2012-01-03 09:01:10 -07:00
ahocevar
d42eec9775
No new argument for Layer::redraw.
...
Instead, make _resolution a private property (resolution) which is set to null to make redraw call moveTo with zoomChanged set to true.
2011-12-26 11:09:07 +01:00
Éric Lemoine
289d9d371d
make Layer.redraw not unconditionally set zoomChanged to true in moveTo
2011-12-22 14:19:02 +01:00
fredj
efdd9d0eb2
don't create div for image tile when no gutter is used
2011-11-30 14:19:36 +01:00
tschaub
00410cf779
Merge branch 'master' of github.com:openlayers/openlayers into convenience
2011-11-08 08:44:33 -07:00
tschaub
fb790424a5
Allow array for min/maxExtent in layers.
2011-10-26 16:02:51 -06:00