ahocevar
893966dfae
'm' and 'Meters' in OpenLayers.INCHES_PER_UNIT are not the same
...
OpenLayers.INCHES_PER_UNIT.m should equal
OpenLayers.INCHES_PER_UNIT.Meters, just like OpenLayers.INCHES_PER_UNIT.km
should equal OpenLayers.Inches_PER_UNIT.Kilometers. This confusion probably
comes from mixing International inches with US Survey inches when compiling
the unit conversion list (1 meter is 39.37007874 International inches, but
39.37 US Survey inches. It may not be obvious, but 'inches'/'Inch' in
OpenLayers means US Survey inch, and 'IInch' means International inch).
This change also fixes offsets caused by incorrect resolution calculations in
OpenLayers.Format.WMTSCapabilities.
2012-12-19 22:23:45 +01:00
Gregers Gram Rygg
a2a391d3b5
Fixed problems with touch events on a scrollable page
2012-11-02 14:22:46 +01:00
Marc Jansen
1348f97546
Replace tabs with spaces where appropriate.
2012-09-11 21:51:18 +02:00
Bart van den Eijnden
a7c202231f
Merge branch '2.12' of github.com:openlayers/openlayers
2012-06-13 07:18:53 +02:00
Xavier Mamano
4f3252bfe8
Revert "Use "superContainer" to operate well in Android, ."
...
This reverts commit 2b9ea5007b .
2012-06-04 18:49:43 +02:00
Xavier Mamano
2b9ea5007b
Use "superContainer" to operate well in Android, .
2012-06-03 23:54:11 +02:00
Xavier Mamano
54a51904e9
Adjustment on "Util.getRenderedDimensions" when "containerElement" is absolutely positioned.
2012-06-03 16:54:20 +02:00
Marc Jansen
c56a861ec7
Merge branch 'master' of https://github.com/openlayers/openlayers into no-$
2012-04-25 09:16:27 +02:00
Tim Schaub
2b5b59bea5
Merge pull request #416 from tschaub/dotless
...
Use dotless identifiers.
2012-04-23 16:27:11 -07:00
Marc Jansen
e70ee09a4d
Merge branch 'master' of https://github.com/openlayers/openlayers into no-$
2012-04-20 23:45:37 +02:00
Marc Jansen
1691d4a71f
Minor API doc enhancement
2012-04-21 00:23:41 +03:00
Marc Jansen
e690f28517
replace tab with spaces
2012-04-21 00:14:24 +03:00
Tim Schaub
faaa2cec1f
Using compiled regexp to replace dots.
...
Though split and join appear to be more efficient in Chrome, a compiled regexp looks to be a safer bet across the board. See http://jsperf.com/dotless (and http://jsperf.com/dotless-nop for the NOP).
2012-04-18 09:46:24 -04:00
Tim Schaub
8533edd19b
Toward dotless identifiers.
2012-04-18 09:39:58 -04: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
Marc Jansen
d122ebcf4e
Merge pull request #286 from marcjansen/imgpath
...
Declare ImgPath property of OpenLayers in OpenLayers.js (r=@elemoine,@ahocevar)
2012-03-06 23:02:25 -08:00
Éric Lemoine
3b860ca4d7
Merge pull request #168 from jorix/Docs-issues3
...
Some problems in the documentation
2012-03-06 00:05:52 -08:00
Marc Jansen
ece872b81a
Remove our aliasing of OpenLayers.Util.getElement to window.$.
2012-03-05 22:23:57 +01:00
Marc Jansen
768ad0108d
Move the declaration of OpenLayers.ImgPath from Util.js to OpenLayers.js.
2012-03-05 21:00:05 +01:00
Peter Robins
eb4bf5d438
OpenLayers.ImgPath should be API property
2012-03-05 13:13:51 +00:00
Xavier Mamano
bfb379f349
Fix some problems in the documentation.
2012-03-05 11:43:09 +01: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
fredj
14624cb815
New OpenLayers.CANVAS_SUPPORTED constant
2012-02-09 15:33:46 +01:00
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
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
fredj
04ae5f8db8
Change all 'Return:' to 'Returns:' in documentation. Non functional change
2012-01-12 09:26:49 +01:00
Xavier Mamano
6fd4d27700
Change docs to "Valid options:" in Util.createUrlObject
2012-01-09 00:35:54 +01:00
Xavier Mamano
f4a6d4c7b2
Set key as property in Bing.js and many links as {<...>}
2012-01-09 00:30:53 +01:00
Xavier Mamano
b7dee9ca6d
Some problems in the documentation detected using "closure_verify"
2012-01-07 19:29:41 +01:00
Tim Schaub
b26efd6beb
Merge pull request #126 from tomhughes/url-rewrite
...
Add an interception point to allow image URLs to be rewritten
2012-01-03 14:13:00 -08:00
tschaub
b844a3b11b
Happy New Year!
...
Updating copyright to 2012.
2012-01-03 09:01:10 -07:00
Tom Hughes
63fb2d4b04
Add an interception point to allow image URLs to be rewritten
...
Make all attempts to get a URL for an image go through a single
routine, OpenLayers.Util.getImageLocation, which is given the actual
image name.
This allows users to replace that routine with an enhanced version
which can rewrite the full URL, for example to go through the rails
asset pipeline when using OpenLayers with rails.
2011-12-31 12:19:10 +00:00
Frederic Junod
9a3dc98458
Remove unneeded requires
2011-11-14 15:29:08 +01:00
Frederic Junod
4afff74b0d
Move deprecated functions from OpenLayers.Util into deprecated.js.
2011-11-14 15:29:03 +01:00
ahocevar
91cd42bfe6
Removing unused image load error handling code. r=fredj ( closes #3420 )
2011-10-05 14:51:22 -04:00
Christopher Schmidt
9fc1cfc30f
Document why this hack is only applied in a limited set of situations;
...
(Closes #3478 )
2011-09-19 21:32:22 -04:00
crschmidt
533f8625d9
Thanks to a patch from greid, fix case where "" is passed into getParameters,
...
which would previously have weird behavior. (Pullup #3408 )
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12217 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-08 13:43:14 +00:00
Frédéric Junod
3c076b564b
remove unused OpenLayers.Util.getTagText, OpenLayers.Util.getNodes and OpenLayers.Util._getNodes functions. r=bartvde, p=me ( closes #3437 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12189 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-07-25 15:05:50 +00:00
ahocevar
e6a40e1334
fixing dateline handling of Util.getFormattedLonLat. p=cayenne, r=me ( closes #3411 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12172 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-07-18 12:58:43 +00:00
Tim Schaub
995d612caa
More robust array type check. p=mwootendev, r=me ( closes #2959 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12095 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-16 19:16:25 +00:00
Bruno Binet
e4d13784fa
fix api doc typo, no functionnal changes
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11942 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-05-03 10:08:42 +00:00
ahocevar
0628c05fc3
doc fixes: Firefox instead of FireFox. p=vog ( closes #2911 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11828 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-03-31 09:06:33 +00:00
Frédéric Junod
82a64751af
fix Natural Docs comments, no functional change. p=jorix, r=me ( closes #2989 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11576 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-02-28 08:19:18 +00:00
bartvde
07e34672b5
OpenLayers.Util.getFormattedLonLat does not deal correctly with 60 seconds and 60 minutes, p=mattnott,jorix, r=me,marcjansen ( closes #2852 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11405 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-02-24 11:24:50 +00:00
Frédéric Junod
7a1cb00fe4
Add missing semicolon. Non functional change.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11185 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-02-21 14:55:01 +00:00
Tim Schaub
472f0e55fe
Not really required here, but taking a shortcut.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11017 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-01-07 00:13:46 +00:00
Tim Schaub
b9b7a68b19
Declaring dependencies in the source. Comments only commit.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11007 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-01-05 17:42:45 +00:00
Tim Schaub
9e89f4f173
Removing the OpenLayers.Util.extend method to the Class.js file to avoid a circular dependency that cannot be resolved with an arbitrary sort order. r=elemoine ( closes #2992 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11003 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-01-05 17:24:32 +00:00