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
_map.AddLayer(new WmsLayer | |
{ | |
UrlTemplate = "http://ows.mundialis.de/services/service?", | |
Layers = new string[] { "TOPO-WMS", "OSM-Overlay-WMS" } | |
}); |
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
<div style="width: 100%; height: 100%"> | |
<div class="settings-section"> | |
<table class="setting-table input-table" cellspacing="0"> | |
<tbody> | |
<tr> | |
<td> | |
<label>${nls.apiKey}</label> | |
</td> | |
<td> | |
<input |
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> | |
<meta charset="utf-8"> | |
<title>D3 GeoJSON in Leaflet</title> | |
<link href='http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.css' rel='stylesheet' /> | |
<!--[if lte IE 8]> | |
<link href='http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.ie.css' rel='stylesheet'> | |
<![endif]--><style> | |
html, body, #map { height: 100%;width:100%; background:#020B26;position:absolute;} | |
body { padding: 0; margin: 0; } | |
path { stroke-linejoin; round; stroke-linecap: round; fill: none} |
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
// from: http://davidwalsh.name/javascript-objects-deconstruction | |
var Foo = { | |
init: function(who) { | |
this.me = who; | |
}, | |
identify: function() { | |
return "I am " + this.me; | |
} | |
}; |
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
/* | |
* Here the 'inspiration': http://goo.gl/OKL9A | |
* Adapted from: http://psha.org.ru/leaflet/Google.js | |
* Demo: http://psha.org.ru/leaflet/bel.html | |
* This code works well with jquerymobile: | |
* the original code maintain a div.height of 0 for the internal google container | |
* REMARKS: this | |
* NOTE: jQuery required! | |
*/ |
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
L.TileLayer.TileJSON = L.TileLayer.Canvas.extend({ | |
options: { | |
debug: false | |
}, | |
tileSize: 256, | |
initialize: function (options) { | |
L.Util.setOptions(this, options); |