Commit Graph

3585 Commits

Author SHA1 Message Date
ahocevar
05de2b5109 Don't let button controls interfer with handlers.
This change involves removal of the map's eventsDiv and introduces an OpenLayers.Events.buttonclick component that adds a buttonclick event which makes sure that only events that are not related to clicking a button propagate. This allows button controls to be on the map's viewPortDiv again.
2012-01-20 03:37:11 +01:00
Bart van den Eijnden
e68acfe91a fix up Layer.Bing tests, fix has been discussed with @ahocevar (closes #163) 2012-01-19 20:05:44 +01:00
drnextgis
b10e380afd Update lib/OpenLayers/Control/Split.js 2012-01-19 14:48:25 +07: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
fredj
a34dd40869 Fix APIdoc syntax 2012-01-18 14:25:42 +01: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
Pierre GIRAUD
6c5ed6361f Merge pull request #154 from pgiraud/unselectfeature
unselectFeature should be API
2012-01-18 00:20:52 -08:00
Tim Schaub
6aaa9bb749 Fixing undeclared label.
Missing var in be585c5f23 causing closure compiler failure.
2012-01-17 23:41:04 -07: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
Éric Lemoine
37d21272b7 Merge pull request #127 from elemoine/tile-fade-in
CSS-based tile animation
2012-01-17 21:06:11 -08:00
Tim Schaub
d34d8f22a3 Merge pull request #128 from tschaub/animation
Use requestAnimationFrame where available.
2012-01-17 11:56:59 -08:00
tschaub
9a6827f6b3 Documenting the functionality included in Projection.js.
This adds documentation for projection methods and includes detail in the release notes about build configuration related changes.
2012-01-17 12:38:31 -07:00
tschaub
bfa6f06bf3 Removing dependency on SphericalMercator.
The default transforms (b/w EPSG:4326 & EPSG:900913) now come with any layer type.
2012-01-17 12:35:50 -07:00
tschaub
6134ad6d91 Removing redundant dependency.
Projection.js gets pulled in as a transitive dependency of all layers.
2012-01-17 12:34:40 -07:00
tschaub
00975e79cc Merge branch 'master' of github.com:openlayers/openlayers into proj 2012-01-17 08:52:03 -07: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
Peter Robins
ca6d93712a Suggested addition to Kinetic documentation 2012-01-17 11:41:22 +00:00
Antoine Abt
4c22ceee4a Document default labelAlign 2012-01-17 12:24:02 +01:00
Éric Lemoine
99ca32540d Merge branch 'master' into tile-fade-in
Conflicts:
	tests/Tile/Image.html
2012-01-17 09:27:55 +01:00
Pierre GIRAUD
059a400ab3 unselectFeature should be API 2012-01-17 09:27:36 +01:00
Éric Lemoine
8f57e34376 Merge branch 'master' into osm
Conflicts:
	notes/2.12.md
2012-01-17 09:10:27 +01:00
Pierre GIRAUD
0aaa5265b4 Merge pull request #146 from openlayers/2492
Improving precision in LinearRing::containsPoint
2012-01-16 23:30:58 -08:00
Éric Lemoine
6373cce17e Merge pull request #148 from probins/noqsf
Remove QueryStringFilter requires from Protocol/HTTP
2012-01-16 23:22:57 -08:00
Tim Schaub
32e870bebb Remove SphericalMercator dependency from Bing. 2012-01-16 22:59:23 -07:00
Tim Schaub
4b949176d3 Move mercator transforms to Projection.js.
The SphericalMercator mixin is not required for coordinate transforms.  Default transforms included whenever Projection.js is included.
2012-01-16 22:39:44 -07:00
tschaub
02aa9bcc36 Tests with a description of the updated method.
The old `containsPoint` method was sensitive to failure when looking for ray crossings with nearly vertical edges.  These added tests demonstrate the simple cases where `containsPoint` succeeds.  The tests also now include a case that covers the failure for polygons with nearly vertical edges.  The previous `getX` method (within the `containsPoint` method) and the new one are mathematically equivalent.  The updated version performs better in cases using coordinates with many significant figures.
2012-01-16 16:59:54 -07:00
Éric Lemoine
e160628086 make OSM.js @require SphericalMercator.js, to be consistent with Bing.js 2012-01-16 20:53:09 +01:00
Bart van den Eijnden
33fd43d0ed make GetRecords request work against pyCSW 2012-01-16 14:25:29 +01:00
fredj
42fcb70347 Coding standards: variable names to camel case 2012-01-16 09:20:05 +01:00
fredj
e6ab34bed1 Update OpenLayers.Icon.px type
'px' can be either a Pixel or a simple javascript object.
2012-01-16 09:06:59 +01:00
fredj
27a9ec26b0 Update OpenLayers.Marker.moveTo apidoc
'px' parameter can be either a Pixel or a simple javascript object.
2012-01-16 09:06:13 +01:00
Bart van den Eijnden
8905ef2fa5 Merge pull request #145 from bartvde/cswemptysubject
ignore empty subject tags in CSWGetRecords parser (r=ahocevar)
2012-01-15 23:50:36 -08:00
Frederic Junod
511784d530 Update OpenLayers.Map.{min,max}Px apidoc
OpenLayers.Pixel to simple javascript object.
2012-01-15 18:22:22 +01:00
Frederic Junod
4e703abc0c Fix OpenLayers.Control.GetFeature.selectBox apidoc 2012-01-15 18:14:31 +01:00
Frederic Junod
098899d165 Fix OpenLayers.Control.OverviewMap.getLonLatFromOverviewPx apidoc 2012-01-15 18:13:27 +01:00
Frederic Junod
5d173c1807 Fix OpenLayers.Icon apidoc
'size' parameter for OpenLayers.Icon.setSize can be either a Size or
a simple javascript object.
2012-01-15 18:09:11 +01:00
Frederic Junod
8f4fcc7f33 Fix OpenLayers.Icon apidoc
'size' can be either an OpenLayers.Size or a simple javascript object,
'offset' can be either an OpenLayers.Pixel or a simple javascript
object.
2012-01-15 18:05:07 +01: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
Frederic Junod
4d0a53ab31 Fix OpenLayers.Pixel and OpenLayers.Size apidoc
'px' parameter for OpenLayers.Pixel.offset and OpenLayers.Pixel.equals
can be either a Pixel or a simple javascript object.
'sz' parameter for OpenLayers.Size.equals can be either a Size or a
simple javascript object.
2012-01-15 10:59:08 +01:00
Frederic Junod
a9aa6d031e Fix OpenLayers.Util apidoc
'px' and 'sz' parameters for modifyDOMElement, createDiv, createImage,
createAlphaImageDiv and modifyAlphaImageDiv can be either a
OpenLayers.Pixel/OpenLayers.Size or a simple javascript object.
2012-01-15 10:45:27 +01:00
Éric Lemoine
a9d919ab95 better docs for Layer.OSM 2012-01-14 21:13:01 +01:00
Peter Robins
b9f1b8b4ba Add docs comment on QueryStringFilter 2012-01-14 15:02:53 +00:00
Peter Robins
3eee019fca Remove QueryStringFilter requires from Protocol/HTTP 2012-01-14 14:51:03 +00:00
fredj
d3cc8e93ae replace LonLat with simple object (OverviewMap.getLonLatFromOverviewPx, internal function) 2012-01-14 14:11:25 +01:00
fredj
2355f099be remove map.getSize call to avoid creating new instances 2012-01-14 14:11:25 +01:00
fredj
b8257aa64c replace Pixel argument with simple object (Util.createDiv) 2012-01-14 14:11:25 +01:00
fredj
b900144ce3 remove map.getSize call to avoid creating new instances 2012-01-14 14:11:25 +01:00
fredj
90452311f3 Remove tileSize.clone; not necessary to create a new size instance 2012-01-14 14:11:25 +01:00
fredj
c440a2916d replace Size argument with simple object (maker.draw) 2012-01-14 14:11:25 +01:00
fredj
8825b32924 pass simple objects to Icon constructor 2012-01-14 14:11:25 +01:00