É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
ahocevar
740e3c4d28
Defaults for featureDx and xOffset.
...
This is mostly done to make SVG and VML tests pass again, but it may also help existing applications that override setExtent or drawFeature without calling the superclass methods properly.
2011-10-12 08:25:20 +02:00
tschaub
cb74ede41b
Handle features without bounds.
...
Updates to tests to work with new wrap dateline code. Canvas renderer needs to handle geometries without bounds as well.
2011-10-11 14:48:10 -06:00
ahocevar
b56af5a5cf
Tests for setExtent; improved comments.
2011-10-08 14:34:59 -04:00
ahocevar
281ae3dfe7
new calculateFeatureDx method which is used by both Canvas and Elements renderers.
2011-10-08 12:26:19 -04:00
ahocevar
f2fcb5a95c
Canvas renderer needs to return false from setExtent
2011-10-08 12:21:51 -04:00
ahocevar
bb80c893fd
Documenting the featureDx, xOffset and rightOfDateLine member variables.
2011-10-08 12:03:16 -04: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
tschaub
b82a24ef36
Determine how many worlds away we are instead of simply wrapping.
2011-09-30 13:22:29 -06:00
tschaub
9ab440e615
Calculate x-offset for features outside the world bounds.
2011-09-29 19:51:20 -06:00
tschaub
f5f93ac947
Don't render if feature doesn't intersect renderer extent in a warped sense.
2011-09-29 19:50:11 -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