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
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
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
Tim Schaub
0176d052a7
Merge pull request #102 from tschaub/nowkt
...
Allow for builds without WKT format
2011-12-14 09:51:06 -08:00
Éric Lemoine
45a6e24299
Panel iconOn and iconOff do not behave correctly if application-specific classes are set in the control
2011-12-14 15:49:19 +01:00
Bart van den Eijnden
9f9829053a
do not wrap DOMElements in CDATA sections for WPS Execute, p=jachym, r=me (closes http://trac.osgeo.org/openlayers/ticket/3517 )
2011-12-14 15:20:00 +01:00
Frédéric Junod
55e5220a9e
Merge pull request #104 from fredj/tile-position
...
Only set img.style.position once. r=ahocevar, elemoine
2011-12-13 09:16:46 -08:00
fredj
e6a1830da8
move the buttons sizing to CSS
2011-12-12 17:16:04 +01:00
fredj
3cfd21c318
group the img.style changes
2011-12-12 15:05:51 +01:00
fredj
ee37617c21
Only set img.style.position once
2011-12-12 13:48:57 +01:00
fredj
64b21b4e86
Remove unused variable
2011-12-12 10:42:33 +01:00
tschaub
66de55ef9b
Allowing for WKT free builds.
...
The WKT format is used for converting geometries to and from string representations. For builds that do not explicitly include the WKT format, the `OpenLayers.Geometry.fromWKT` returns `undefined`.
2011-12-10 17:00:20 -07:00
Éric Lemoine
00cfe7b226
Merge pull request #99 from elemoine/deprecate-rico
...
Deprecate Popup.AnchoredBubble and Rico
2011-12-08 22:54:38 -08:00
Éric Lemoine
4abaa7d553
Merge remote branch 'upstream/master'
2011-12-09 00:13:27 +01:00
Éric Lemoine
3deeff74f5
comment noop code and make google compiler happy
2011-12-09 00:12:49 +01:00
Éric Lemoine
513dd16be3
deprecated LayerSwitcher roundedCorner option
2011-12-09 00:10:29 +01:00
Éric Lemoine
46e15b5359
make OpenLayers.Feature create OpenLayers.Popup.Anchored as opposed to OpenLayers.Popup.AnchoredBubble by default
2011-12-09 00:08:28 +01:00
Éric Lemoine
519335026f
deprecate AnchoredBubble
2011-12-09 00:02:44 +01:00
towa48
a1b6644b2a
Prevent duplicate node title in SVG renderer.
2011-12-08 12:11:39 +03:00
Frédéric Junod
5fda8835da
Merge pull request #82 from fredj/2897
...
don't create div for image tile when no gutter is used. p=ahocevar,pgiraud,elemoine,fredj
2011-12-07 23:03:26 -08:00
Frédéric Junod
e97961321c
Merge pull request #96 from fredj/3404
...
SelectFeature stops selecting features after a right click on the map. r=ahocevar
2011-12-07 08:03:27 -08:00
ahocevar
fa1845693b
Fixing a typo.
2011-12-07 16:38:07 +01:00
ahocevar
b6df3d871b
It turns out we really want to retile sometimes.
...
The reason is that we want to avoid moveGriddedTiles to run through hundreds of cycles to shift tiles until we reach the new bounds. But containsBounds does not work if extents that cross the date line start on different worlds, so we use intersectsBounds where we can pass the world bounds to handle this case.
2011-12-07 15:55:22 +01:00
Frédéric Junod
6725ee1940
Merge pull request #95 from fredj/2708
...
getFeatureIdFromEvent return value. r=elemoine
2011-12-07 06:28:49 -08:00
fredj
b11b33e3ab
SelectFeature stops selecting features after a right click on the map
2011-12-07 15:03:39 +01:00
ahocevar
f79520cf9d
Don't set zoomOffset - maxResolution and numZoomLevels is enough. r=fredj (closes http://trac.osgeo.org/openlayers/ticket/3550 )
2011-12-07 14:53:53 +01:00
fredj
03b8406746
Canvas.getFeatureIdFromEvent: return undefined instead of null
2011-12-07 12:08:04 +01:00
fredj
71fbfff02a
return undefined instead of false from getFeatureIdFromEvent
2011-12-07 11:59:53 +01:00
fredj
d20802369f
code simplification
2011-12-07 11:52:04 +01:00
fredj
315c37a075
getFeatureIdFromEvent returns a feature id or undefined, fix getFeatureIdFromEvent docstring
2011-12-07 11:50:58 +01:00
fredj
d715a94b0f
remove double declaration
...
(yes, code duplication sucks)
2011-12-07 11:33:34 +01:00
fredj
9cfa5f562e
Don't update the map size on 'movestart'
2011-12-07 09:40:54 +01:00