View this code at http://livecoding.io/6111936
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" /> | |
<meta name="apple-mobile-web-app-capable" content="yes" /> | |
<title>OpenLayers with jQuery Mobile</title> | |
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0;"> | |
<meta name="apple-mobile-web-app-capable" content="yes"> | |
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.css"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var map = new OpenLayers.Map('map', { | |
controls: [ | |
new OpenLayers.Control.Navigation(), | |
//new OpenLayers.Control.PanZoomBar(), | |
], | |
numZoomLevels: 10, | |
restrictedExtent: new OpenLayers.Bounds(-20037508.34 * 100,-20037508.34,20037508.34 * 100,20037508.34) | |
}); | |
var osm = new OpenLayers.Layer.OSM( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
what's happening springmeyer? | |
<springmeyer> TWG! here we go :) | |
Hi everyone - if you are here for the Technical working group meeting... | |
--> pierzen ([email protected]) has joined #hot | |
<springmeyer> here is a basic agenda: | |
<pgiraud> hello all | |
<springmeyer> Agenda | |
- raise hand if present, state name, and interests (in just a few words) | |
- What existing software tools has HOT sponsored or encouraged | |
- how can we best/better coordinate software development priorities for HOTOSM needs? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var map; | |
function init() { | |
map = new OpenLayers.Map('map'); | |
var wms = new OpenLayers.Layer.WMS( | |
"OpenLayers WMS", | |
"http://vmap0.tiles.osgeo.org/wms/vmap0", | |
{layers: 'basic'}, | |
{serverResolutions: [1.40625,0.703125,0.3515625,0.17578125]} | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf8" /> | |
<meta name="content-language" content="fr" /> | |
<style type="text/css"> | |
</style> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<style type="text/css"> | |
body { | |
text-shadow: 1px 1px 2px black, 0 0 1em blue, 0 0 0.2em blue; | |
color: white; | |
} | |
</style> |
View this code at http://livecoding.io/6115060
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Copyright Pierre GIRAUD, https://gist.github.com/pgiraud/6131715 | |
* Published under WTFPL license. */ | |
/** | |
* @requires OpenLayers/Renderer/SVG.js | |
*/ | |
OpenLayers.Renderer.SVGExtended = OpenLayers.Class(OpenLayers.Renderer.SVG, { | |
eraseGeometry: function(geometry, featureId) { | |
this.removeArrows(geometry); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://www.openlayers.org/dev/OpenLayers.js"></script> | |
<script type="text/javascript"> | |
function init(){ | |
var format = new OpenLayers.Format.WMSGetFeatureInfo(); | |
var features = format.read('<?xml version="1.0" encoding="UTF-8"?><wfs:FeatureCollection xmlns="http://www.opengis.net/wfs" xmlns:wfs="http://www.opengis.net/wfs" xmlns:gml="http://www.opengis.net/gml" xmlns:ial="risques.pref.auvergne.gouv.fr" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="risques.pref.auvergne.gouv.fr http://ids.craig.fr:80/wxs/ial/wfs?service=WFS&version=1.0.0&request=DescribeFeatureType&typeName=ial%3A63_140 http://www.opengis.net/wfs http://ids.craig.fr:80/wxs/schemas/wfs/1.0.0/WFS-basic.xsd"><gml:boundedBy><gml:null>unknown</gml:null></gml:boundedBy><gml:featureMember><ial:63_140 fid="63_140.49"><ial:id_proc>proc63_001</ial:id_proc></ial:63_140></gml:featureMember><gml:featureMember><ial:63_140 fid="63_140.1 |
OlderNewer