Commit Graph

34 Commits

Author SHA1 Message Date
Tim Schaub
54b8622114 Replace ol/Sphere with ol/sphere 2017-12-20 23:48:34 -07:00
Tim Schaub
a58f162ed9 Update the measure example 2017-08-10 20:20:47 -06:00
Frederic Junod
a7f61e6dda Remove jquery dependency from measure example 2016-04-04 16:14:11 +02:00
Peter Robins
3416991166 Improve docs for measure example 2016-04-01 13:39:06 +00:00
Tim Schaub
d19bf0970b Rename strapless template 2015-11-18 09:56:15 -07:00
Tim Schaub
e6343ca272 Convert M-P examples to strapless template 2015-11-18 09:56:14 -07:00
Tim Schaub
0149924551 Update Metalsmith and layout plugin 2015-11-01 02:18:09 -07:00
Tim Schaub
89f5e711e6 Example sources in the examples dir 2015-04-17 06:22:38 -06:00
Andreas Hocevar
ff1ee78ddd Build and parse examples from examples_src/ 2015-04-02 19:10:09 +02:00
Bart van den Eijnden
c5c24f209a Add geodesic option for measure 2015-02-11 13:24:23 +01:00
Pierre GIRAUD
c63c358d08 Add tooltip to show measure + help message while drawing 2015-02-04 17:48:28 +01:00
Frederic Junod
078ba2dec0 Move jquery.min.js to resources 2014-10-01 09:59:20 +02:00
Peter Robins
53d3c695f4 Measure example: correct source link 2014-04-17 14:32:01 -04:00
Jachym Cepicky
280e3e4ebf Adding simple measure example 2014-04-04 16:13:20 +02:00
Tom Payne
6c0b719aef Remove OpenLayers 2, as discussed with @ahocevar, @elemoine and @tschaub 2012-08-30 15:00:23 +02:00
Frédéric Junod
80f3c81f11 measure example: add renderer url param. non-functional change
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12336 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-07 16:00:09 +00:00
Marc Jansen
e8960054a9 Correct the contents of the <meta name="viewport"> attribute content. (p=me,fredj; r=fredj,aabt; fixes #3335)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12082 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-14 06:46:13 +00:00
Éric Lemoine
3ed7d8d1de removing a change in the measure.html example committed by error in [12046], no functional change (References #3327)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12047 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-06 07:18:49 +00:00
Éric Lemoine
9b361ef35d make the drawing handlers create the sketch feature at an appropriate time, when we can actually derive geographic coordinates from a pixel, r=ahocevar (References #3327)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12046 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-06 07:12:52 +00:00
ahocevar
15be7ff39b use HTML5 in all examples, and some minor example improvements (pullup #3333)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12032 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-05-31 15:00:51 +00:00
Éric Lemoine
7f34868fe2 use mobile-specific metas in our examples, and add a media query to remove padding and set map width to page width on small scth on small-screen devices, r=aabt (closes #3067)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11158 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-02-21 06:48:33 +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
ahocevar
35092e9226 Added keywords and tags to examples. People who want to help clean up our examples collection should look for the cleanup tag. Patch created by marcjansen during the FOSS4G 2009 and 2010 code sprints. Thanks! p=marcjansen, r=me (closes #2830)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10730 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-09-13 12:26:18 +00:00
crschmidt
fb35f555be Change all references to the labs.metacarta.com WMS server to the
OSGeo-hosted vmap0.tiles.osgeo.org server. 


git-svn-id: http://svn.openlayers.org/trunk/openlayers@10708 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-09-01 11:36:05 +00:00
ahocevar
f000057659 making pink tiles a css matter. p=rdewit, r=me (closes #2318)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9758 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-10-24 05:57:41 +00:00
crschmidt
70c3fd077d Fix for typo in geoesic measurement thingy. (Closes #2042)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9268 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-04-12 15:24:56 +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
4d1d172be0 The style:'default' hack is no longer needed here.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@8960 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-03-06 18:28:59 +00:00
Tim Schaub
da07d0df2f Correct copy/past error.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@8447 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-12-05 15:36:44 +00:00
Tim Schaub
846a48245f Updating comments in example.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7974 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-09-06 19:03:45 +00:00
Tim Schaub
29cdbe686d Adding a bit of explanation about this calcVincenty function, since distVinventy is not documented otherwise.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7972 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-09-06 18:49:54 +00:00
crschmidt
e301cc2ab0 Measure includes a great circle distance, to emonstrate the ability to use
the geometry attached to the event to generate your own length measurement.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@7970 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-09-06 16:09:13 +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