euzuro
f7f338e265
Batch merge for rc2 of 2.7. 'svn merge -r7967:HEAD from trunk ( Closes #1733 ) ( Closes #1489 ) ( Closes #1639 ) ( Closes #1718 ) ( Closes #1723 ) ( Closes #1732 ) ( Closes #1616 ) ( Closes #1722 )
...
git-svn-id: http://svn.openlayers.org/branches/openlayers/2.7@8012 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-09-12 17:24:20 +00:00
ahocevar
c12cb25aee
New vector rendering for better performance and less renderer specific limitations. r=elemoine ( closes #1675 , closes #1656 , closes #1631 , closes #1431 , closes #1709 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7930 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-09-02 17:17:52 +00:00
ahocevar
9588f25ce5
Stroke style of features can now be specified. Both SVG's
...
stroke-dasharray and VML's dashstyle properties are allowed in the new
strokeDashstyle symbolizer property. For VML, which does not support
custom dash styles, one of the 5 matching pre-defined dash styles will
be guessed. The patch also adds support for the stroke-dasharray
property in SLD. r=crschmidt (closes #1126 )
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7673 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-08-01 21:56:17 +00:00
ahocevar
7148b10123
do not ignore style.rotation if set to 0 any more. r=crschmidt ( closes #1654 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7672 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-08-01 21:49:44 +00:00
ahocevar
197043d249
fixed event handling and rendering of graphicName symbols for Safari and Opera. r=crschmidt ( closes #1653 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7671 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-08-01 21:35:35 +00:00
ahocevar
eddfa62c1f
Use getAttributeNS instead of getAttribute. Non-functional change. (references #1650 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7670 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-08-01 21:12:56 +00:00
ahocevar
a59e7f0f4e
fixed rendering but in FF3 when resizing graphicName symbols.
...
r=crschmidt (fixes #1650 )
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7669 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-08-01 18:43:31 +00:00
ahocevar
3dcc30a24c
added new graphicName symbolizer property, which allows to render well-known graphic symbols named "square", "cross", "x" and "triangle", in addition to the existing "circle". Thanks Tim for the tweaks and the example. r=tschaub,elemoine ( closes #1398 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7634 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-07-31 17:02:10 +00:00
Tim Schaub
66a4c6fb0e
Caching array length instead of accessing it with each iteration. r=crschmidt ( closes #1636 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7627 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-07-31 04:44:25 +00:00
ahocevar
cab3f90411
sorry, had committed wrong versions of SVG.js and VML.js. Fixed now.(references #1157 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7587 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-07-29 15:25:56 +00:00
ahocevar
a0b8a41d5d
made coordsize positive for vector renderers; seems to fixe some strange behavior in the vml renderer, and brings a performance gain by using this.size instead of calculating the size from extent and resolution every time. r=euzuro ( closes #1157 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7586 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-07-29 15:12:48 +00:00
ahocevar
aa486090f1
Implemented rotation of externalGraphic vector point features. r=tschaub ( closes #1433 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7324 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-06-06 18:42:44 +00:00
crschmidt
793fa3444b
Add support for Safari 3.1 SVG version strings: Safari got more 'honest' about
...
what it supports, at the cost of breaking OpenLayers Vector layers. This looks
for a more 'basic' SVG featureset, as recommended by a Webkit developer.
r=pagameba (Closes #1463 )
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6581 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-03-25 17:29:11 +00:00
ahocevar
31f769b61a
Prevent SVG renderer from drawing features in the upperleft corner of the map pane when coordinates are outside range. The fix in r6380 did not work properly. r=crschmidt ( closes #1360 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6515 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-03-13 09:49:43 +00:00
ahocevar
9c55f8c1e1
SVG renderer draws features in the upperleft corner of the map pane when coordinate outside range. r=tschaub ( closes #1360 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6380 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-02-27 00:47:55 +00:00
Frédéric Junod
32d541641d
fix typos and missing documentation in ND comments. (non-functional changes)
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6200 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-02-11 09:54:21 +00:00
Éric Lemoine
bd07adbb10
This commit fixes this: once a feature's been selected the "pointer" cursor is
...
always used when going over it. r=crschmidt (closes #1217 )
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5909 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-01-27 14:26:28 +00:00
crschmidt
7a19fd6a95
Don't let the SVG renderer bail if the node we are trying to add is out of
...
bounds *and* not yet added to the map. r=pagameba (Closes #1274 )
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5826 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-01-20 20:11:38 +00:00
crschmidt
09e0d3ec81
Update copyrights to 2008.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5614 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-01-01 08:14:55 +00:00
Tim Schaub
33e313b059
Separating jsdoc style docs into their own block. The new NaturalDocs doesn't parse these mixed blocks, giving us no class descriptions with the two together. ( closes #1229 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5553 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-12-21 08:28:09 +00:00
Frédéric Junod
2447848e7f
Coding style: dont use local variable when it's not necessary, remove new lines.
...
No functional changes, tests pass on FF2, IE6, IE7 and safari 3.0.4 windows.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5552 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-12-21 07:28:05 +00:00
Frédéric Junod
50ad4d4090
coding standards: line too long, fix ND comment typo
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5471 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-12-17 14:45:34 +00:00
crschmidt
45c420782c
Don't flip SVG Y values anymore, since we're working in pixel space these days,
...
and the Y transforms just make working with the SVG directly -- for example,
with people modifying it to support text -- more difficult than it should be.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5430 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-12-15 16:24:31 +00:00
Frédéric Junod
fa81ea81a6
Remove the drawCurve method from the renderers because it is never used. Reported by pgiraud ( Closes #1138 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5373 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-12-11 08:32:18 +00:00
crschmidt
73fe6380c7
Fixes and performance improvements to VML renderer problems with
...
externalGraphic, diligently filed, investigated, and fixed by The great and
powerful Oz, er, Andreas, who is becoming my new vector rendering hero.
(Closes #1172 )
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5323 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-12-01 22:57:58 +00:00
euzuro
8296db3072
fix ND definition for OpenLayers.Renderer.SVG. Thanks for spotting this one, fredj ( Closes #1156 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5217 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-11-19 19:04:53 +00:00
Éric Lemoine
75163f6635
avoid code duplication in Renderer/SVG.js, thanks fredj for the patch ( closes #1144 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5188 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-11-15 15:31:48 +00:00
Tim Schaub
10eaa329ba
stop the renderers from flashing black and filling white - ahhh, much prettier vector drawing now - thanks to pgiraud and crschmidt ( closes #1042 ).
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5158 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-11-09 17:14:10 +00:00
Paul Spencer
16aa4cf7f0
( Closes #1084 ) Apply patch to set resolution and correctly scale width and height of SVG rectangles.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5029 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-10-19 18:39:27 +00:00
Paul Spencer
3e9beffc99
large scale syntactic clean up adding missing semi-colons and curly braces around blocks.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5002 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-10-18 12:27:35 +00:00
crschmidt
ed3221441c
Refactor SVN layout in compliance with RFC/LicenseChange. This hopefully
...
completes an important blocker for moving forward with OSGeo incubation.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4985 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-10-17 02:21:22 +00:00
Éric Lemoine
ab53ba3982
allow user to specify offsets for externalGraphic ( closes #893 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4268 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-09-13 20:36:36 +00:00
Éric Lemoine
3e1f2e4305
add new vector style property "graphicOpacity"
...
enabling mixing non-opaque vector geometries with opaque external graphics on the same vector layer
(closes #873 )
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4114 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-08-30 05:59:29 +00:00
Tim Schaub
c2148651ed
Filling our log with cruft, adding meaningless conflicts for merges, and changing a comment style that ndocs could care less about, this commit changes Return to Returns ( closes #945 ).
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4110 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-08-29 18:44:10 +00:00
crschmidt
6194452b8a
Since John already went ahead and committed the main change, I'm just going
...
to finish this one up. All commits are in comments, so a review doesn't seem
strictly neccesary. This closes #918 and fixes all the copyrights that I could
find in the code.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3984 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-08-23 11:29:06 +00:00
euzuro
cf5a53959e
ND Update: make array's say what they're made of, and a few other small bits, like mistyped and a couple missing <>s
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3829 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-07-31 20:02:03 +00:00
euzuro
fd4d2918f1
fix for #853 - remove JSDOC comments from CLASS_NAME variables
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3787 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-07-23 15:09:09 +00:00
Tim Schaub
cc1b0269c9
#823 New class style. Instead of OldStyle = Class.create(); OldStyle.prototype = Class.inherit(Parent, prototype), we now use NewStyle = OpenLayers.Class(Parent, prototype). New style classes allow for backwards compatibility [you can use OldStyle = Class.create(); Class.inherit(NewStyle, prototype)]. The Class.create and Class.inherit functions are deprecated. Backwards compatibility will be removed at 3.0. Thanks Erik for the careful review.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3767 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-07-16 20:25:11 +00:00
crschmidt
8e1eb78c26
Add support to the vector layer to visualize point geometries with images. This
...
support was added, tested, and documented by Andreas Hocevar, and I want to
thank him for the work he put into this patch. It looks pretty great. (This
is from ticket #736.)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3729 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-07-13 13:31:40 +00:00
euzuro
b84e2f468a
miscap'd OpenLayers. Thanks Stephen
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3609 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-07-06 00:16:02 +00:00
crschmidt
3948913bfc
Merge all changes from the naturaldocs sandbox. This brings all the work that
...
has been done in the NaturalDocs branch back to trunk. Thanks to everyone who
helped out in making this happen. (I could list people, but the list would
be long, and I'm already mentally on vacation.)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3545 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-06-29 15:59:20 +00:00
crschmidt
4d553f5a38
#700 : A small patch to let the user specify the linecap style of a feature.
...
Thanks, fredj!
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3204 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-05-30 13:07:45 +00:00
crschmidt
a840844b55
Some browsers (IE5.5) don't support documnet.implementation. Check if the
...
property exists. #722 , from pgiruad.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3180 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-05-25 10:49:57 +00:00
Tim Schaub
daf95113d8
#719 - until proper clipping is achieved, this solution redraws as much of features as possible
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3167 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-05-24 03:07:32 +00:00
Tim Schaub
bda31f36ea
#701 - clear points from the SVG root that fall outside of the max pixel range
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3166 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-05-24 02:32:53 +00:00
crschmidt
75d2dac1cb
Minor typo in previous commit due to overzealous find/replace.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3072 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-04-13 13:16:44 +00:00
crschmidt
ba5b664a2f
Firefox SVG does not support drawing points with values more than something
...
between 10,000 and 40,000. (It's hard to tell, since it crashes the browser
when you try.) The resulting behavior is that the browser crashes. This
wraps these values into Pixel regions, and doesn't draw features which fall
outside of them. (This sucks, but the result is the browser not crashing.)
This closes #669 , and should be improved as described in #670 for 2.5.
If for some reason you know that the browser you're on can support larger
maxPixel values, you can adjust the maxPixel private variable on the
renderer. I believe that Opera and WebKit nightlies will work fine with
a larger maxPixel value. Changing this is encouraged *only* if you
are developer working on the code, because it can totally crash browsers
in a production environment.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3071 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-04-13 12:40:22 +00:00
Tim Schaub
645bff1286
#628 - a feature has a geometry - a geometry doesn't have a feature - features are rendered, selected, moved, modified, etc - down in the renderer, expando properties on nodes are limited to _featureId, _style, and _options - this removes expandos that created circular references back through the map and to other dom elements - when the renderer is involved in selecting features, it returns a featureId (instead of a geometry or feature) and the layer is responsible for fetching the appropriate feature
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3043 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-04-10 16:07:56 +00:00
crschmidt
df65488d3a
Commit #637 , "add cursor property in Feature.Vector" from pgiraud, with
...
minor modification: because features by default do nothing at all, change
the default cursor property (keep it at null) so that users aren't confused
when clicking has no affect. Thanks for the patch.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3040 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-04-10 10:19:13 +00:00
crschmidt
5319acfaf1
Minor documentation fixed from fredj ( #570 ).
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2969 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-04-02 10:54:01 +00:00