Commit Graph

281 Commits

Author SHA1 Message Date
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
Éric Lemoine
1144b2cd8c small optimization for the toFloat func, r=pgiraud (closes #2875)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10998 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-01-04 07:43:54 +00:00
Tim Schaub
ad54169479 Happy New Year.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10995 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-01-03 15:39:40 +00:00
ahocevar
b61cec71a1 Make it possible to exclude Console.js and Lang/en.js for really small builds. r=bartvde (closes #2882)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10967 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-12-15 09:42:19 +00:00
ahocevar
30eabe26ad set IS_GECKO to true only for real gecko browsers, not for webkit ones. r=bartvde (closes #2942)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10909 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-11-23 09:19:25 +00:00
ahocevar
57bbf90cab reverting r10905, which included more changes than it should have
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10906 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-11-20 17:38:23 +00:00
ahocevar
b696581405 reverting r10700 (closes #2870)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10905 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-11-20 17:36:15 +00:00
ahocevar
a59266325b Make it so getMousePosition does not report incorrect position when borders are used in containing elements, by replacing the pagePosition method with a new one and attaching map events to the internal viewport div instead of the user provided map div. r=erilem,tschaub (closes #2247)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10871 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-11-05 12:44:38 +00:00