Marc Jansen
a34e627b75
Remove dangling space in license header.
2013-02-07 10:33:20 +01:00
Tim Schaub
bbc73a21d8
Update copyright date
2013-01-07 22:01:16 -05:00
Volker Grabsch
e8051ca1ec
Fix DOM API call to setAttributeNS()
2012-08-30 16:54:49 +02:00
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
Tim Schaub
163caf0e8d
Underscore in canvas hit detection.
2012-04-18 09:40:27 -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
Frederic Junod
2de2fe2563
Unnecessary and missing semicolon.
2012-03-19 09:13:01 +01:00
fredj
23380e5d4a
Move NG renderer to deprecated.js
2012-03-14 09:17:42 +01:00
fredj
420a6f4dd2
Move SVG2 renderer to deprecated.js
2012-03-14 09:17:42 +01:00
Arjen Kopinga
a836224a14
added hit detection for symbol edges to canvas renderer with unit tests
...
Added unit tests for hit detection on invisible canvas layer
simplified unit test for hit detection on invisible canvas
2012-03-06 14:12:53 +01:00
Xavier Mamano
bfb379f349
Fix some problems in the documentation.
2012-03-05 11:43:09 +01:00
ahocevar
ffac63045e
Removing duplicate setCanvasStyle method.
...
Thanks @jorix for catching this (see #238 ).
2012-03-04 19:56:41 +01:00
Arjen Kopinga
1c6d44e5d5
Moved symbol definitions to Renderer.js
2012-02-28 11:52:46 +01:00
ahocevar
4ee28dc63e
Simplifying logic that returns undefined when root is invisible.
2012-02-28 10:45:18 +01:00
Arjen Kopinga
bf834e6b8e
being a good coder and adding braces around if statement body
2012-02-28 10:43:10 +01:00
Arjen Kopinga
4efa03eb59
Fix for being able to select a feature from an invisible layer that uses the Canvas renderer
2012-02-28 10:43:10 +01:00
ahocevar
69660e3530
Minor coding style improvements.
2012-02-22 17:22:30 +01:00
Arjen Kopinga
bb3ae99713
forgot to actually used featureId in getFeatureIdFromEvent
2012-02-22 15:57:54 +01:00
Arjen Kopinga
1119146486
Small fix for hit detection on a canvas layer as an illegal feature id might result at a location where the edge of one feature intersects the interior of another. This is due to antialiasing on the hit context canvas which can't be turned off, unfortunately.
2012-02-22 15:39:31 +01:00
Arjen Kopinga
d6e28e5ab9
Added support for named graphics to Canvas renderer
2012-02-22 15:26:21 +01:00
fredj
14624cb815
New OpenLayers.CANVAS_SUPPORTED constant
2012-02-09 15:33:46 +01: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
Antoine Abt
71d9d36266
when removeText, remove its outline too
2012-01-12 10:41:34 +01:00
fredj
cbfb68f397
Change all 'Parameter:' to 'Parameters:' in documentation. Non functional change
2012-01-12 09:32:49 +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
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
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
tschaub
b844a3b11b
Happy New Year!
...
Updating copyright to 2012.
2012-01-03 09:01:10 -07:00
ahocevar
cfe25feecf
Making dateline handling work with ratio.
2011-12-28 20:14:39 +01:00
towa48
a1b6644b2a
Prevent duplicate node title in SVG renderer.
2011-12-08 12:11:39 +03: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
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