Commit Graph

3546 Commits

Author SHA1 Message Date
Xavier Mamano f64dea59e8 More details manually observed while reviewing documentation. 2012-01-07 23:33:50 +01:00
Xavier Mamano 107edcf0e5 Some minor documentation adjustments. 2012-01-07 20:07:07 +01:00
Xavier Mamano b7dee9ca6d Some problems in the documentation detected using "closure_verify" 2012-01-07 19:29:41 +01:00
Antoine Abt 241162a4bc update comments for supported renderers 2012-01-06 10:32:28 +01:00
tschaub fc43ea715a Documenting the deprecated.js script. 2012-01-05 10:50:45 -07:00
Antoine Abt be585c5f23 Add support for SVG renderer ( Heavily inspired from rdewit’s patch http://trac.osgeo.org/openlayers/ticket/2965 ) 2012-01-05 17:32:00 +01:00
Antoine Abt 5be7e7f844 don’t duplicate defaults in renderers 2012-01-05 10:26:05 +01:00
fredj 3245836b6d New OpenLayers.Layer.Grid.tileClass option. Defaults to OpenLayers.Tile.Image 2012-01-04 12:37:39 +01:00
Antoine Abt 0ff9d54d5c better alignment 2012-01-04 11:00:29 +01:00
Antoine Abt 6be48e9ef9 Basic support for canvas only (patch from trac #3503) 2012-01-04 10:59:51 +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
Éric Lemoine 0ef4c8dd5b make redraw return the return value of mergeNewParams 2012-01-04 08:47:28 +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 e2834e04e6 Merge branch 'master' into animation 2012-01-03 10:28:40 -07:00
tschaub 519bf9a50a Removing unused minX and maxX. 2012-01-03 10:28:25 -07:00
tschaub 3556af9cb2 Moving animation methods out of Util.js.
Animation methods get their own module, giving methods more sensible names:

 * `OpenLayers.Animation.requestFrame` (was `OpenLayers.Util.requestAnimationFrame`)
 * `OpenLayers.Animation.start` (was `OpenLayers.Util.startAnimation`)
 * `OpenLayers.Animation.stop` (was `OpenLayers.Util.stopAnimation`)
2012-01-03 09:43:50 -07:00
tschaub b844a3b11b Happy New Year!
Updating copyright to 2012.
2012-01-03 09:01:10 -07:00
Tim Schaub bd4278de4a Docs and tests for animation methods. 2012-01-02 21:54:08 -07:00
Tim Schaub 92472ca604 Avoid illegal invocation of native method. 2012-01-02 21:53:21 -07:00
Tim Schaub e363bdb782 Rename to startAnimation for symmetry. 2012-01-02 21:52:31 -07:00
Tim Schaub c151b04257 Use requestAnimationFrame for tweening.
Instead of using an arbitrary interval for tweening, we let the device decide the best animation frame rate.  Where requestAnimationFrame is not available, this will default to 60 fps.
2012-01-02 20:52:46 -07:00
Tim Schaub 5c2af142b6 Use requestAnimationFrame where available.
For kinetic panning, let the device determine the animation frame rate.
2012-01-02 20:40:29 -07:00
Tim Schaub c7c11757ae Allow for infinite animation loop. 2012-01-02 20:39:52 -07:00
Tim Schaub a86151c9e3 Allow callback to cancel animation. 2012-01-02 20:39:38 -07:00
tschaub bc8a38cf16 Util methods for animation loops. 2012-01-02 17:48:43 -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
Tom Hughes 533ee475ee Improve documentation of regular versus irregular transformation 2011-12-31 12:08:22 +00:00
Tom Hughes 1b6eb38d46 Make irregular transforms work on rotated features
Rework support for irregular transforms to handle features
which have been rotated correctly.
2011-12-31 12:08:21 +00:00
Tom Hughes a46707e727 Add support for irregular transformations to TransformFeature
Give the TransformFeature control an irregular mode where dragging a
handle just extends that side rather than growing the shape symmetrically
about the centre.
2011-12-31 12:08:21 +00:00
tschaub 3bddb3af05 Merge branch 'master' of github.com:openlayers/openlayers into norect 2011-12-29 14:40:16 -07:00
tschaub 5773ad7ddc Removing duplicate code.
These string prototype methods were unintentionally added twice in 20e19203d5.
2011-12-29 14:29:03 -07:00
tschaub 958221d5f4 Moving Rectangle geometries to deprecated.js.
The VML and SVG renderers still have support for drawing rectangles.  This can be safely removed in 3.0.
2011-12-29 14:14:49 -07:00
Peter Robins 52e7c932f7 Move symbolizer requires 2011-12-29 09:47:22 +00:00
ahocevar d1319eaf90 Merge branch 'vector-ratio' (closes #113) 2011-12-28 20:18:11 +01:00
ahocevar cfe25feecf Making dateline handling work with ratio. 2011-12-28 20:14:39 +01:00
ahocevar 1ce59a207d Don't use clientWidth and clientHeight.
Instead, use map.getSize to make sure this works the same way in all browsers.
2011-12-28 20:10:56 +01:00
ahocevar 22e9fc92b8 Don't change existing behavior for redraw(true) 2011-12-26 19:53:23 +01:00
ahocevar 0b3f9c0ae9 Merge branch 'master' of https://github.com/pjeweb/openlayers-1 into vector-ratio 2011-12-26 11:59:27 +01: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
Xavier Mamano 52e550ea74 "controls" is a APIProperty of Map 2011-12-26 00:02:02 +01:00
Éric Lemoine ff04517232 HTTPRequest.mergeNewParams should now do redraw(true) 2011-12-22 14:21: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
ahocevar 7fbae9f345 Fixing IFrame tile layers.
A problem introduced with 5fda8835da can easily be solved by re-adding a check for imgDiv and a strict type check for useIFrame. Thanks @elemoine for pointing out that there could be a problem.
2011-12-22 01:14:04 +01:00
pjeweb 008e8c5ed1 adding ratio to Vector Layer 2011-12-21 12:37:09 +01:00
ahocevar 1284dca5ec adding missing dependency 2011-12-20 14:23:41 +01:00
ahocevar c48bf3a37f One more keyword missing (see #111) 2011-12-16 17:48:51 +01:00
ahocevar 94ef9a6b10 Merge pull request #110 from ahocevar/no-pan-on-invalid-zoom
No pan on invalid zoom. r=@tschaub
2011-12-16 08:43:03 -08:00
fredj ec16a9c0b1 Add missing new keyword in doc. thanks @DaveCausey (closes #111) 2011-12-16 17:14:44 +01:00
ahocevar 9c50bb5c01 Don't set the new lonlat if the new zoom is not valid.
This avoids unwanted panning without zooming when using the mousewheel to zoom out on a wrapDateLine map (see #109).
2011-12-16 11:22:31 +01:00