Frederic Junod
1a59e47737
Move handlerOptions to the Control prototype.
2012-04-11 12:46:20 +02: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
Éric Lemoine
49b3dc85c2
Merge pull request #56 from jorix/3576-MeasureImm
...
#3576 Incorrect geometry passed to measurePartial
2012-03-03 23:59:54 -08:00
tschaub
2b5ade2dde
Adding back events documentation.
...
When the list of event types became unconstrained in 501b42228a , we lost the documentation for events that are triggered. This change adds the list of events triggered to the API docs for events properties.
2012-02-16 10:36:34 -07:00
tschaub
b844a3b11b
Happy New Year!
...
Updating copyright to 2012.
2012-01-03 09:01:10 -07:00
Xavier Mamano
eae04c92bc
cancelDelay before measureImmediate + changes in tests.
2011-11-16 19:51:28 +01:00
Frédéric Junod
501b42228a
remove event type list from Events (lazy listener initialization) p=tschaub,me r=erilem ( closes #2555 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12384 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-17 19:09:40 +00:00
Éric Lemoine
30aeab365a
make it possible to pan the map while drawing geometries, r=tschaub ( closes #3052 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11381 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-02-24 09:00:49 +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
542f8c5a84
fixed API docs. p=patzi, r=me ( closes #2948 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10919 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-11-25 16:46:57 +00:00
ahocevar
e970151067
new "immediate" option to enable live measuring while moving the mouse. p=patzi,me r=me ( closes #2935 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10917 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-11-24 10:44:01 +00:00
Tim Schaub
1d1911e28d
Fire measurepartial synchronously if in freehand mode. Cancel delayed messages when measure completes, when control is deactivated, or when measure is canceled. p=jorix,me r=me ( closes #2820 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10799 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-09-28 21:57: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
Éric Lemoine
c4fbe1c0b3
measure control - wrong measure when moving fast, r=fredj ( closes #2691 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10407 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-06-17 12:55:44 +00:00
Frédéric Junod
cd94a7f17d
don't fire measurepartial on first click. r=elemoine ( closes #2096 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10406 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-06-17 11:59:37 +00:00
Tim Schaub
06a27dc36f
Make it so the measurepartial event is triggered only if measure isn't coming soon. This keeps you from having to do a quadruple click to finish in IE when a reflow is triggered by the measurepartial listener. r=crschmidt ( closes #2037 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9263 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-04-10 16:09:00 +00:00
Tim Schaub
08077f0f42
Adding methods for getting geodesic measures from geometries. Assuming geometries can be transformed into Geographic/WGS84, getGeodesicLength and getGeodesicArea should return reasonable 'on the ground' metrics. Use getLength and getArea for the planar metrics. r=crschmidt ( closes #1819 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9248 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-04-08 23:12:24 +00:00
Tim Schaub
ed5420b678
Adding a persist option to the measure control. This passes the same to the sketch handler. The cancel method on the control calls the same on the handler. Patch from dwins. Tests from me. r=me ( closes #2029 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9225 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-04-07 02:03:57 +00:00
Tim Schaub
8ba31e4a91
Consistent event type listing for controls.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9154 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-03-31 21:57:08 +00:00
euzuro
f935c599d1
Added a control for drawing geometries and returning basic metrics (length / area). Patch by tschaub, review by elemoine. ( Closes #1241 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7965 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-09-05 15:07:59 +00:00