Frederic Junod
74dd106082
Use OpenLayers.Event.preventDefault, deprecate OpenLayers.Renderer.SVG.preventDefault.
2012-05-30 09:07:49 +02:00
tschaub
348dffcda6
Merge branch '2.12' of git://github.com/openlayers/openlayers
2012-05-18 13:30:37 -06:00
ahocevar
120cc0680d
Using display:block instead of position:absolute.
...
This fixes a regression that can be seen e.g. when using the FeatureRenderer in GeoExt, causing an incorrect alignment of the renderer.
2012-05-18 12:38:34 +02:00
Éric Lemoine
985233c2dd
Merge branch '2.12'
2012-05-16 21:05:47 +02:00
Frederic Junod
8268616ec8
Rename style.graphicTitle to style.title (the former is now deprecated)
2012-05-15 12:49:39 +02:00
Xavier Mamano
05672deefa
Add style = "position: absolute;" on the SVG to skip the bug of Chrome 18
2012-05-14 23:02:53 +02:00
ahocevar
d01f57d3e6
There is no reason to restrict graphicTitle to externalGraphic symbols.
2012-05-05 12:49:25 +02:00
ahocevar
a57c56ed96
Revert "Merge pull request #432 from ahocevar/iframe-opacity"
...
This reverts commit af046b9af8 , reversing
changes made to f36fd5f0d1 . The reason for reverting this is that the change breaks the select-feature-multilayer.html example.
2012-04-23 18:03:39 -04:00
ahocevar
07114fc894
Setting opacity on the last child.
...
This is required for IFrame tiles, so we don't set the opacity on the event pane. To make this work with vector layers, the defs node needs to be inserted before the root group element instead of after it.
2012-04-23 10:17:20 -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
Antoine Abt
0d27dc82ae
re-add default labelAlign, but avoid duplicate declaration accross renderers
2012-02-06 21:45:57 +01:00
Tim Schaub
6aaa9bb749
Fixing undeclared label.
...
Missing var in be585c5f23 causing closure compiler failure.
2012-01-17 23:41:04 -07:00
Antoine Abt
188be77570
Merge pull request #140 from aabt/outline
...
Add label outline to SVG and Canvas renderers
2012-01-17 04:45:50 -08:00
fredj
cbfb68f397
Change all 'Parameter:' to 'Parameters:' in documentation. Non functional change
2012-01-12 09:32:49 +01: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
tschaub
b844a3b11b
Happy New Year!
...
Updating copyright to 2012.
2012-01-03 09:01:10 -07:00
towa48
a1b6644b2a
Prevent duplicate node title in SVG renderer.
2011-12-08 12:11:39 +03:00
fredj
71fbfff02a
return undefined instead of false from getFeatureIdFromEvent
2011-12-07 11:59:53 +01:00
fredj
315c37a075
getFeatureIdFromEvent returns a feature id or undefined, fix getFeatureIdFromEvent docstring
2011-12-07 11:50:58 +01:00
fredj
dc991e6f85
Remove Geometry.Surface
2011-11-28 12:41:47 +01:00
ahocevar
6dc36e90ac
Declaring inRange variable. No functional change.
2011-10-25 18:52:00 +02:00
ahocevar
2cfe6f83c2
Cross-dateline rendering fixed for SVG and added for VML renderer.
2011-10-08 11:33:35 -04:00
ahocevar
868757501f
deal with the dateline in the SVG renderer. Not yet fully functional.
2011-10-02 15:40:13 -06:00
ahocevar
8bf0d74291
reverting accidently committed changes
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12358 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-12 04:31:16 +00:00
ahocevar
22bd5fa546
also consider the resolutions array if no zoomOffset is provided. r=bartvde ( closes #3485 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12357 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-12 04:26:32 +00:00
Frédéric Junod
dfa86d3c20
remove unneeded destroy and initialize function. r=ahocevar (pullup #3341 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12050 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-06 11:02:11 +00:00
ahocevar
174078bca9
adding support for line breaks to SVG, SVG2 and Canvas renderers. Also adds vertical alignment support to Canvas. p=vog,fredj,me r=me ( closes #2193 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11838 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-03-31 11:58:28 +00:00
Frédéric Junod
33d330c0db
font style support for feature label. r=erilem ( closes #3051 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11744 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-03-29 09:54:00 +00:00
ahocevar
120d59f0e1
reverting r11645, and fixing the root of the reported problem. r=bartvde ( closes #2392 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11697 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-03-11 19:28:55 +00:00
ahocevar
873fa8aa24
modifier+click no longer opens a new tab on FF when using externalGraphic. r=bartvde,pgiraud ( closes #1421 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11584 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-02-28 18:56:00 +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
crschmidt
a5c9052b94
Make SVG graphicTitle standards compliant. p=potter000, r=pgiraud ( Closes #2924 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11569 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-02-28 00:46:52 +00:00
ahocevar
03fd0056aa
Reverted a part of r10976 which removed code that is still needed. Thanks cmoullet for spotting this. r=me ( closes #2985 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11018 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-01-07 18:50:23 +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
fe6047859f
Always copy graphicName symbols, because there were too many issues with use/defs. Ctrl-Click and Shift-Click now works as expected on graphicName symbols. p=marcjansen, r=me ( closes #2985 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10976 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-12-29 12:06:46 +00:00
Tim Schaub
aa9112c494
Avoiding unnecessary repeated checks of navigator.userAgent. The constants added here should not be used outside the library. In the future, they should be removed from the library. r=ahocevar ( closes #2911 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10868 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-11-03 00:10:00 +00:00
crschmidt
f0d474e50b
Change license text to point to "OpenLayers contributors", referencing
...
authors.txt file. In reality, MetaCarta does not own copyright to these files,
they merely have a right to distribute them under the license terms agreed to
by the contributors. At this point, there is no longer any reference to
MetaCarta as a copyright holder in the OpenLayers project, only to its
individual contributors via the authors.txt file.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10706 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-09-01 03:06:31 +00:00
ahocevar
9ae54040db
Only call dashStyle when strokeDashstyle is set. r=tschaub ( closes #2768 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10621 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-08-15 19:53:14 +00:00
Frédéric Junod
b81b05a9b5
remove tabs, remove unused variable
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10469 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-07-08 10:29:41 +00:00
Frédéric Junod
d47944e4b7
remove unused variable and unreachable code, replace tab with space. Non functional change
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10452 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-07-04 19:28:20 +00:00
Frédéric Junod
08f506176b
use array join instead of string concat. r=ahocevar ( closes #2713 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10431 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-06-29 11:05:00 +00:00
Frédéric Junod
925b6fa206
add missing semi-colon, no functional change
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10357 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-05-25 08:34:43 +00:00
ahocevar
69b4a84381
replaced Renderer.Elements' minimumSymbolizer and Renderer.Canvas' symbolizer defaults with a new Renderer.defaultSymbolizer. r=elemoine ( closes #2584 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10316 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-05-12 20:58:13 +00:00
ahocevar
5a05b6c142
fixed a regression that caused incorrect positioning of rotated graphics when they are not rendered for the 1st time. r=elemoine ( closes #2596 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10258 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-04-28 06:53:20 +00:00
ahocevar
7632e54a4d
fixed rotation center for non-square symbols in non-defs mode (Webkit). r=bartvde ( closes #2499 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10136 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-03-20 21:50:39 +00:00
ahocevar
35168dc219
fixing rotation so previously rotated geometries will be rotated back if the rotation symbolizer attribute is not set any more. r=bartvde ( closes #2500 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10135 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-03-20 21:33:36 +00:00
Frédéric Junod
153cba8147
New fontOpacity option for vector feature style. r=pgiraud ( closes #2438 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9978 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-01-27 15:31:53 +00:00
ahocevar
da664350fe
fixed rotation for browsers that don't support defs/use. Committed version modified from patch version as suggested by tschaub. r=tschaub ( closes #2402 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9953 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-01-18 12:34:56 +00:00