Commit Graph

3637 Commits

Author SHA1 Message Date
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
ed502f6f19 Merge pull request #226 from probins/gpx
GPX read should allow for blank attribute nodes
2012-02-16 07:02:09 -08:00
fredj
17f96f68a2 Preserve numZoomLevels from options. r=@tonio (see #219) 2012-02-16 15:24:33 +01:00
Peter Robins
584d33eaa3 GPX read should allow for blank attribute nodes 2012-02-16 13:32:10 +00:00
ahocevar
2fe882f4d8 Merge pull request #219 from ahocevar/proj-defaults
New OpenLayers.Projection.defaults property. r=@tschaub,@fredj
2012-02-16 01:29:29 -08:00
ahocevar
262e2d5bc0 Calculating maxResolution instead of having it in defaults. 2012-02-15 21:09:39 +01:00
ahocevar
2e423df3d2 Use the layer's projection.
In setMap, the layer gets the map's projection if it doesn't have its own. And since a layer can have a different SRS code than the map (but a compatible one, i.e. with OpenLayers.Projection.transforms[mapProj][layerProj] being OpenLayer.Projection.nullTransform), the axis order can be different.
2012-02-15 13:41:25 +01:00
fredj
147b32b7e3 Don't compute limit if it's not needed 2012-02-15 12:33:14 +01:00
fredj
cd3ffa2058 Simplify parent call (don't use intermediate array) 2012-02-15 12:32:25 +01:00
fredj
a40ae7ef11 If sphericalMercator, use default values from Projection.defaults 2012-02-15 12:30:05 +01:00
Pierre GIRAUD
cfaaa352f8 Update lib/OpenLayers/Format/GPX.js 2012-02-15 12:17:39 +01:00
Pierre GIRAUD
6608f5fd94 GPX Format - Adding the mandatory creator attribute 2012-02-15 11:58:52 +01:00
Pierre GIRAUD
cb65b69556 The root element shouldn't be prefixed, this is not XML valid. (checked using xmllint --noout --schema http://www.topografix.com/GPX/1/1/gpx.xsd mygpx.gpx) 2012-02-15 11:50:55 +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
da3dc76a6d Making the delay for removing the backbuffer configurable.
This helps users who want to avoid having old and new tiles on the screen for transparent single tile layers.
r=@elemoine (closes #216)
2012-02-14 20:12:09 +01:00
ahocevar
5e734f20dc Merge pull request #179 from ahocevar/tile-queue
A tile queue that can be aborted. r=@elemoine,@fredj,@tonio
2012-02-14 10:59:12 -08:00
ahocevar
fe8a00d5c9 Support the culture attribute in the Bing Layer.
p=dcabasson, r=me (closes http://trac.osgeo.org/openlayers/ticket/3598)
2012-02-14 17:23:01 +01:00
fredj
add094b284 tileSize property already defined in parent class (Layer.Grid) 2012-02-14 14:49:31 +01:00
fredj
692fe2dd12 Bounds.fromSize: size can be a simple object, update doc. 2012-02-14 14:32:15 +01:00
Frederic Junod
2dabac734c Revert "Move the popup close box sizing to CSS"
Moving the box size to CSS broke `Popup.setSize()`; the function
expects a width for the padding computation. Because this function is
called before the div is added to the DOM, the size can't be
computed.

This reverts commit 134f24480a.
2012-02-13 19:59:59 +01:00
Éric Lemoine
16c30b8e6d Merge pull request #45 from twpayne/initial-bearing-to
Add OpenLayers.Spherical, including utility functions for calculations on the basis of a spherical earth, patch from @twpayne
2012-02-13 05:35:13 -08:00
Frederic Junod
134f24480a Move the popup close box sizing to CSS 2012-02-12 21:56:41 +01:00
ahocevar
3fae6c0d29 Merge pull request #195 from ahocevar/layerswitcher-simplified
No additional events registered on the LayerSwitcher. r=@fredj.
2012-02-12 03:32:20 -08:00
ahocevar
6385be7ffe Template for the Attribution control.
This allows to add map specific copyright, or copyright required for tools like geocoders that are used in the context of the map.
2012-02-11 12:34:40 +01:00
ahocevar
68a6c62f0b Documenting tileOptions defaults. 2012-02-10 18:03:22 +01:00
ahocevar
b17c7b69f2 Adding comment about GMaps API version.
Closes http://trac.osgeo.org/openlayers/ticket/2984.
2012-02-10 15:46:45 +01:00
Frédéric Junod
ad201f3a80 Merge pull request #160 from fredj/tile-canvas
Tile.Image and canvas. r=ahocevar,tschaub
2012-02-10 06:43:09 -08:00
fredj
f8099e9ab1 Unset crossOrigin when setting blankImageUrl to the image.
Tested with FF 10, Chrome 16 and 18.
2012-02-10 13:46:13 +01:00
Frédéric Junod
85beb32e85 Merge pull request #209 from fredj/modify-feature-create-vertices
New createVertices option for Control.ModifyFeature. r=bartvde
2012-02-10 04:16:45 -08: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
ahocevar
342d624616 New crossOriginKeyword property.
Set to 'anonymous' for Layer.OSM and Layer.Bing, and not used by default for other layers.
2012-02-10 12:50:13 +01:00
Tom Payne
8d6c9ef1ee Correct documentation 2012-02-10 09:42:52 +01:00
Tom Payne
3c30929858 Correct spelling 2012-02-10 09:42:08 +01:00
Éric Lemoine
4cc1bf1899 better docs for the Spherical namespace 2012-02-09 16:59:02 +01:00
fredj
b34f272fa7 Optimize the string test 2012-02-09 15:35:35 +01:00
fredj
e9097ce066 More APIdoc for OpenLayers.Tile.Image.getCanvasContext 2012-02-09 15:34:08 +01:00
fredj
b4ac0af5d8 New OpenLayers.Tile.Image.getCanvasContext function 2012-02-09 15:34:00 +01:00
fredj
57ae02f381 Set image.crossOrigin attribute in OpenLayers.Tile.Image 2012-02-09 15:33:54 +01:00
fredj
14624cb815 New OpenLayers.CANVAS_SUPPORTED constant 2012-02-09 15:33:46 +01:00
fredj
6daecd677d New createVertices option for Control.ModifyFeature 2012-02-09 14:12:52 +01:00
Bart van den Eijnden
e9ffef03c7 create APIMethod for obtaining the view port, this is needed by GeoExt to append the map panel items there so that they don't interfere with the zoombox for example 2012-02-09 10:33:24 +01:00
Pierre GIRAUD
85b9d5f7f9 Merge pull request #200 from pgiraud/gpx
Adding missing schemalocation, version. Better management of the namespaces.
2012-02-08 02:47:38 -08:00
Pierre GIRAUD
92f8040938 More up-to-date way to create or set namespacedj elements or attributes. 2012-02-08 10:39:31 +01:00
Éric Lemoine
e7eae00246 Merge pull request #202 from probins/http
ReadWithPOST should pass through options.headers (patch from @probins)
2012-02-07 13:28:05 -08:00
Peter Robins
00a00db127 ReadWithPOST should pass through options.headers 2012-02-07 11:57:29 +00:00
Antoine Abt
0d27dc82ae re-add default labelAlign, but avoid duplicate declaration accross renderers 2012-02-06 21:45:57 +01:00
fredj
d72b5b4810 Remove OpenLayers.Protocol.CSW.v2_0_2.createCallback, already defined in OpenLayers.Protocol 2012-02-03 12:37:53 +01:00
fredj
3a69729074 Update OpenLayers.Bounds.containsLonLat input type
'll' parameter can now be either a OpenLayers.LonLat instance or a
simple javascript object with a 'lon' and 'lat' properties.
2012-02-02 16:35:30 +01:00
fredj
657b47abb0 Update Control.OverviewMap.getOverviewPxFromLonLat input type
'lonlat' parameter can be either a OpenLayers.LonLat instance or a
simple javascript object with a 'lon' and 'lat' properties.
2012-02-02 16:35:30 +01:00
fredj
8558b6ee5c Update OpenLayers.Layer.Grid.calculateGridLayout inputs type.
No need to clone the passed bounds (read only access).
'bounds' can be either a Bounds instance or a simple javascript
object. Same for 'origin': LonLat instance or a simple javascript
object.
2012-02-02 16:35:30 +01:00