Commit Graph

30 Commits

Author SHA1 Message Date
É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
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
euzuro
05cd192ba3 give popups a 'closeOnMove' option. if set to true, the popup will close itself as soon as the map is pan/zoom (move)ed. patch by jrf, euzuro review by elemoine, cr5. (Closes #1726)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@8397 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-11-19 15:51:18 +00:00
Tim Schaub
c350fd6810 giving examples some style
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7095 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-05-08 08:15:07 +00:00
euzuro
463dc45fbb Adding support for new generation 'framed' popups. This patch includes numerous improvements to the main popups, including the addition of autoSizing, panIntoView, and full support for overflow:auto of the contents div. Thanks go out to the CloudAmber folks, to Pierre in la belle France, to the guys at TOPP and of course, to senior cr5 for his patience and help in the last and final stretch. this is a huge improvement in the popup arena and couldn't have been done without the broad help of everyone out there in the community. Thank you everyone for making this possible. Big step for OpenLayers. (Closes #926)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6718 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-03-31 04:43:36 +00:00
Tim Schaub
a54f36650c four tabs for spaces
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6497 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-03-12 14:51:37 +00:00
crschmidt
10907f2880 In order to make it more clear that users are required to have the theme/
directory to deploy when depending on features which use CSS, and make it clear
how to override the CSS in OpenLayers, include <link rel> ags in all examples.
(Closes #884)  


git-svn-id: http://svn.openlayers.org/trunk/openlayers@6145 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-02-08 22:19:28 +00:00
crschmidt
7da6a3540e Merge the excellent documentation work done during foss4g into trunk. Many
thanks to all the contributors who helped put this together. 
I'm not exactly sure of what's going to happen with this, but for now,
at http://openlayers.org/dev/doc/examples.html you can see links to all the
examples *with descriptions*. Hooray!


git-svn-id: http://svn.openlayers.org/trunk/openlayers@5362 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-12-08 14:21:53 +00:00
Tim Schaub
d3125f250c putting google back in there - excuse me for breaking this acceptance test - how about a tests/accpetance directory?
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5145 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-11-07 19:13:21 +00:00
Tim Schaub
9e35dd7581 getting rid of google script here
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5142 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-11-07 17:26:42 +00:00
crschmidt
87bf9a624a tim points out a silly behavior in the popups.html that I added when I
turned it into an acceptance test.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@4308 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-09-14 23:58:22 +00:00
crschmidt
e0ec60a410 Move popup redraw after layer.moveTo in setCenter to fix google maps
redraw case.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@4253 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-09-13 02:29:52 +00:00
euzuro
ded09b6131 use the namespace corrected event.stop(). (See #880)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4246 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-09-12 19:02:09 +00:00
Tim Schaub
9d1baf68f7 exposing the map for firebuggers - and removing some crufty html comments
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4222 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-09-11 21:50:35 +00:00
crschmidt
e4599ea06f Apply patch from John Cole to make closeBox show up in AnchoredBubble
popups. (Thanks John!) I like this solution better than hacking Rico.
Closes #698.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@3149 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-05-15 21:10:13 +00:00
crschmidt
cb3af3eaba Add the ability to add a close button to popups via a final param to the
constructor of a popup. 


git-svn-id: http://svn.openlayers.org/trunk/openlayers@1704 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-18 16:50:07 +00:00
Schuyler Erle
17eecb955d Removed unnecessary meta tags from all the other examples. Golly.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1592 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-05 15:44:33 +00:00
euzuro
9cf595df01 did not mean to commit modifications to examples in r1438. Have set them back to how they were but for one small change to the popups.html example, which I give a hyperlink inside it to show off the new functionality
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1439 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-09-13 08:25:40 +00:00
euzuro
7ce7f2484b update default behaviour of popups. now you can click and drag inside a popup without the events dropping through to the map, yet if you are dragging a zoombox over a popup, it still responds. this is all thanks to a new function i am adding to Util.js which is called OpenLayers.Util.safeStopPropagaition(). Turns out the default Event.stop() from prototype.js is also calling a function called preventDefault() which disallows things like selecting text or clicking a hyperlink. all tests pass.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1438 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-09-13 08:20:02 +00:00
crschmidt
7d810b47d1 Change zoomToFullExtent to zoomToMaxExtent.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@810 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-27 23:47:28 +00:00
Schuyler Erle
c92cd6d88a Pulled down bug fixes, example updates, etc. r717:r787 from source:/branches/openlayers/1.0.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@788 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-27 04:40:52 +00:00
Schuyler Erle
e6028f9ead Moved OL WMS to new home at http://labs.metacarta.com/wms/vmap0.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@562 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-09 04:01:07 +00:00
euzuro
b5e525e118 more demo work
git-svn-id: http://svn.openlayers.org/trunk/openlayers@549 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 18:59:34 +00:00
euzuro
28ae47184c adding test for removeMarker()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@518 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 16:42:59 +00:00
euzuro
efb3408859 update examples
git-svn-id: http://svn.openlayers.org/trunk/openlayers@463 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-29 20:06:25 +00:00
euzuro
b036da46f5 Add AnchoredBubble.js, include it in dynamic load, add a bit of demo test.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@349 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 02:27:29 +00:00
euzuro
854a468373 add code to properly place the anchored popup. include it in dynamic loader. add testing code in demo popups.html
git-svn-id: http://svn.openlayers.org/trunk/openlayers@337 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:20:35 +00:00
Schuyler Erle
e0bfdd2a97 Oops, moved HTML files but forgot to fix the reference to OpenLayers.js. Fixed.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@303 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 02:02:31 +00:00
Schuyler Erle
c90158a2d7 Moved all the HTML files into examples/.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@302 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 00:22:55 +00:00