columbus3 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/README.md +122 -0
- data/bin/console +0 -0
- data/bin/setup +0 -0
- data/bower.json +25 -0
- data/bower_components/jquery/.bower.json +7 -20
- data/bower_components/jquery/AUTHORS.txt +301 -0
- data/bower_components/jquery/{MIT-LICENSE.txt → LICENSE.txt} +17 -2
- data/bower_components/jquery/README.md +67 -0
- data/bower_components/jquery/bower.json +2 -16
- data/bower_components/jquery/dist/core.js +476 -0
- data/bower_components/jquery/dist/jquery.js +3861 -2818
- data/bower_components/jquery/dist/jquery.min.js +4 -5
- data/bower_components/jquery/dist/jquery.min.map +1 -1
- data/bower_components/jquery/dist/jquery.slim.js +8160 -0
- data/bower_components/jquery/dist/jquery.slim.min.js +4 -0
- data/bower_components/jquery/dist/jquery.slim.min.map +1 -0
- data/bower_components/jquery/external/sizzle/LICENSE.txt +36 -0
- data/bower_components/jquery/{src → external}/sizzle/dist/sizzle.js +445 -240
- data/bower_components/jquery/external/sizzle/dist/sizzle.min.js +3 -0
- data/bower_components/jquery/external/sizzle/dist/sizzle.min.map +1 -0
- data/bower_components/jquery/src/.eslintrc.json +5 -0
- data/bower_components/jquery/src/ajax.js +174 -105
- data/bower_components/jquery/src/ajax/jsonp.js +27 -14
- data/bower_components/jquery/src/ajax/load.js +24 -23
- data/bower_components/jquery/src/ajax/parseXML.js +8 -6
- data/bower_components/jquery/src/ajax/script.js +25 -12
- data/bower_components/jquery/src/ajax/var/location.js +5 -0
- data/bower_components/jquery/src/ajax/var/nonce.js +4 -2
- data/bower_components/jquery/src/ajax/var/rquery.js +5 -3
- data/bower_components/jquery/src/ajax/xhr.js +76 -43
- data/bower_components/jquery/src/attributes.js +4 -2
- data/bower_components/jquery/src/attributes/attr.js +60 -60
- data/bower_components/jquery/src/attributes/classes.js +87 -71
- data/bower_components/jquery/src/attributes/prop.js +81 -32
- data/bower_components/jquery/src/attributes/support.js +11 -13
- data/bower_components/jquery/src/attributes/val.js +66 -37
- data/bower_components/jquery/src/callbacks.js +119 -90
- data/bower_components/jquery/src/core.js +108 -134
- data/bower_components/jquery/src/core/DOMEval.js +16 -0
- data/bower_components/jquery/src/core/access.js +21 -11
- data/bower_components/jquery/src/core/init.js +33 -28
- data/bower_components/jquery/src/core/nodeName.js +13 -0
- data/bower_components/jquery/src/core/parseHTML.js +39 -13
- data/bower_components/jquery/src/core/ready-no-deferred.js +96 -0
- data/bower_components/jquery/src/core/ready.js +40 -51
- data/bower_components/jquery/src/core/readyException.js +13 -0
- data/bower_components/jquery/src/core/stripAndCollapse.js +14 -0
- data/bower_components/jquery/src/core/support.js +20 -0
- data/bower_components/jquery/src/core/var/rsingleTag.js +5 -3
- data/bower_components/jquery/src/css.js +146 -158
- data/bower_components/jquery/src/css/addGetHookIf.js +7 -3
- data/bower_components/jquery/src/css/adjustCSS.js +71 -0
- data/bower_components/jquery/src/css/curCSS.js +22 -14
- data/bower_components/jquery/src/css/hiddenVisibleSelectors.js +8 -8
- data/bower_components/jquery/src/css/showHide.js +105 -0
- data/bower_components/jquery/src/css/support.js +69 -76
- data/bower_components/jquery/src/css/var/cssExpand.js +4 -2
- data/bower_components/jquery/src/css/var/getStyles.js +11 -6
- data/bower_components/jquery/src/css/var/isHiddenWithinTree.js +34 -0
- data/bower_components/jquery/src/css/var/rmargin.js +5 -3
- data/bower_components/jquery/src/css/var/rnumnonpx.js +4 -2
- data/bower_components/jquery/src/css/{swap.js → var/swap.js} +5 -7
- data/bower_components/jquery/src/data.js +67 -66
- data/bower_components/jquery/src/data/Data.js +87 -107
- data/bower_components/jquery/src/data/{accepts.js → var/acceptData.js} +6 -7
- data/bower_components/jquery/src/data/var/{data_priv.js → dataPriv.js} +4 -2
- data/bower_components/jquery/src/data/var/{data_user.js → dataUser.js} +4 -2
- data/bower_components/jquery/src/deferred.js +314 -72
- data/bower_components/jquery/src/deferred/exceptionHook.js +21 -0
- data/bower_components/jquery/src/deprecated.js +36 -9
- data/bower_components/jquery/src/dimensions.js +16 -10
- data/bower_components/jquery/src/effects.js +257 -206
- data/bower_components/jquery/src/effects/Tween.js +18 -9
- data/bower_components/jquery/src/effects/animatedSelector.js +7 -5
- data/bower_components/jquery/src/event.js +297 -419
- data/bower_components/jquery/src/event/ajax.js +13 -4
- data/bower_components/jquery/src/event/alias.js +13 -23
- data/bower_components/jquery/src/event/focusin.js +55 -0
- data/bower_components/jquery/src/event/support.js +5 -3
- data/bower_components/jquery/src/event/trigger.js +185 -0
- data/bower_components/jquery/src/exports/amd.js +5 -3
- data/bower_components/jquery/src/exports/global.js +8 -6
- data/bower_components/jquery/src/jquery.js +6 -2
- data/bower_components/jquery/src/manipulation.js +218 -310
- data/bower_components/jquery/src/manipulation/_evalUrl.js +9 -4
- data/bower_components/jquery/src/manipulation/buildFragment.js +104 -0
- data/bower_components/jquery/src/manipulation/getAll.js +32 -0
- data/bower_components/jquery/src/manipulation/setGlobalEval.js +22 -0
- data/bower_components/jquery/src/manipulation/support.js +11 -8
- data/bower_components/jquery/src/manipulation/var/rcheckableType.js +5 -3
- data/bower_components/jquery/src/manipulation/var/rscriptType.js +5 -0
- data/bower_components/jquery/src/manipulation/var/rtagName.js +5 -0
- data/bower_components/jquery/src/manipulation/wrapMap.js +29 -0
- data/bower_components/jquery/src/offset.js +75 -53
- data/bower_components/jquery/src/queue.js +26 -23
- data/bower_components/jquery/src/queue/delay.js +8 -6
- data/bower_components/jquery/src/selector-native.js +133 -68
- data/bower_components/jquery/src/selector-sizzle.js +10 -5
- data/bower_components/jquery/src/selector.js +3 -1
- data/bower_components/jquery/src/serialize.js +52 -33
- data/bower_components/jquery/src/traversing.js +61 -69
- data/bower_components/jquery/src/traversing/findFilter.js +37 -31
- data/bower_components/jquery/src/traversing/var/dir.js +22 -0
- data/bower_components/jquery/src/traversing/var/rneedsContext.js +4 -2
- data/bower_components/jquery/src/traversing/var/siblings.js +17 -0
- data/bower_components/jquery/src/var/ObjectFunctionString.js +7 -0
- data/bower_components/jquery/src/var/arr.js +4 -2
- data/bower_components/jquery/src/var/class2type.js +4 -2
- data/bower_components/jquery/src/var/concat.js +4 -2
- data/bower_components/jquery/src/var/document.js +5 -0
- data/bower_components/jquery/src/var/documentElement.js +7 -0
- data/bower_components/jquery/src/var/fnToString.js +7 -0
- data/bower_components/jquery/src/var/getProto.js +5 -0
- data/bower_components/jquery/src/var/hasOwn.js +4 -2
- data/bower_components/jquery/src/var/indexOf.js +4 -2
- data/bower_components/jquery/src/var/pnum.js +5 -3
- data/bower_components/jquery/src/var/push.js +4 -2
- data/bower_components/jquery/src/var/rcssNum.js +9 -0
- data/bower_components/jquery/src/var/rnothtmlwhite.js +8 -0
- data/bower_components/jquery/src/var/slice.js +4 -2
- data/bower_components/jquery/src/var/support.js +4 -2
- data/bower_components/jquery/src/var/toString.js +4 -2
- data/bower_components/jquery/src/wrap.js +24 -26
- data/bower_components/leaflet-providers/.bower.json +6 -7
- data/bower_components/leaflet-providers/CHANGELOG.md +62 -0
- data/bower_components/leaflet-providers/README.md +12 -3
- data/bower_components/leaflet-providers/bower.json +1 -1
- data/bower_components/leaflet-providers/leaflet-providers.js +133 -92
- data/bower_components/leaflet-providers/package.json +14 -7
- data/bower_components/leaflet/.bower.json +10 -14
- data/bower_components/leaflet/CHANGELOG.md +648 -3
- data/bower_components/leaflet/CONTRIBUTING.md +88 -33
- data/bower_components/leaflet/ISSUE_TEMPLATE.md +25 -0
- data/bower_components/leaflet/Jakefile.js +73 -14
- data/bower_components/leaflet/LICENSE +1 -1
- data/bower_components/leaflet/PLUGIN-GUIDE.md +97 -3
- data/bower_components/leaflet/README.md +6 -8
- data/bower_components/leaflet/bower.json +3 -9
- data/bower_components/leaflet/dist/images/layers-2x.png +0 -0
- data/bower_components/leaflet/dist/images/layers.png +0 -0
- data/bower_components/leaflet/dist/images/marker-icon-2x.png +0 -0
- data/bower_components/leaflet/dist/images/marker-icon.png +0 -0
- data/bower_components/leaflet/dist/images/marker-shadow.png +0 -0
- data/bower_components/leaflet/dist/leaflet-src.js +12301 -7898
- data/bower_components/leaflet/dist/leaflet-src.js.map +1 -0
- data/bower_components/leaflet/dist/leaflet.css +196 -43
- data/bower_components/leaflet/dist/leaflet.js +6 -9
- data/bower_components/leaflet/dist/leaflet.js.map +1 -0
- data/bower_components/leaflet/docs/CNAME +1 -0
- data/bower_components/leaflet/docs/Gemfile +4 -0
- data/bower_components/leaflet/docs/_config.yml +19 -0
- data/bower_components/leaflet/docs/_includes/frame.html +9 -0
- data/bower_components/leaflet/docs/_includes/tutorial_link.html +8 -0
- data/bower_components/leaflet/docs/_layouts/post.html +30 -0
- data/bower_components/leaflet/docs/_layouts/redirected.html +14 -0
- data/bower_components/leaflet/docs/_layouts/tutorial.html +9 -0
- data/bower_components/leaflet/docs/_layouts/tutorial_frame.html +32 -0
- data/bower_components/leaflet/docs/_layouts/tutorial_v2.html +9 -0
- data/bower_components/leaflet/docs/_layouts/v2.html +159 -0
- data/bower_components/leaflet/docs/_posts/2012-07-30-leaflet-0-4-released.md +240 -0
- data/bower_components/leaflet/docs/_posts/2012-08-07-leaflet-0-4-3-and-a-new-tutorial.md +47 -0
- data/bower_components/leaflet/docs/_posts/2012-08-20-guest-post-markerclusterer-0-1-released.md +112 -0
- data/bower_components/leaflet/docs/_posts/2012-10-25-leaflet-0-4-5-bugfix-release-and-plans-for-0.5.md +36 -0
- data/bower_components/leaflet/docs/_posts/2013-01-17-leaflet-0-5-released.md +24 -0
- data/bower_components/leaflet/docs/_posts/2013-02-20-guest-post-draw.md +146 -0
- data/bower_components/leaflet/docs/_posts/2013-06-26-leaflet-0-6-released-dc-code-sprint-mapbox.md +31 -0
- data/bower_components/leaflet/docs/_posts/2013-06-28-leaflet-plugin-authoring-guide.md +111 -0
- data/bower_components/leaflet/docs/_posts/2013-11-18-leaflet-0-7-released-plans-for-future.md +56 -0
- data/bower_components/leaflet/docs/_posts/2015-07-01-leaflet-is-alive-and-kicking.md +21 -0
- data/bower_components/leaflet/docs/_posts/2015-07-15-leaflet-1.0-beta1-released.md +60 -0
- data/bower_components/leaflet/docs/_posts/2015-09-01-leaflet-0.7.4-released.md +29 -0
- data/bower_components/leaflet/docs/_posts/2015-10-14-leaflet-1.0-beta2-released.md +35 -0
- data/bower_components/leaflet/docs/_posts/2016-03-20-debugging-touch-interactions.md +101 -0
- data/bower_components/leaflet/docs/_posts/2016-04-18-leaflet-1.0-rc1.md +78 -0
- data/bower_components/leaflet/docs/_posts/2016-07-16-leaflet-1.0-rc2.md +60 -0
- data/bower_components/leaflet/docs/_posts/2016-08-05-leaflet-1.0-rc3.md +53 -0
- data/bower_components/leaflet/docs/_posts/2016-09-27-leaflet-1.0-final.md +50 -0
- data/bower_components/leaflet/docs/_posts/2016-11-21-leaflet-1.0.2.md +25 -0
- data/bower_components/leaflet/docs/_posts/2017-01-23-leaflet-1.0.3.md +27 -0
- data/bower_components/leaflet/docs/atom.xml +29 -0
- data/bower_components/leaflet/docs/blog.md +24 -0
- data/bower_components/leaflet/docs/docs/css/main.css +1092 -0
- data/bower_components/leaflet/docs/docs/css/normalize.css +426 -0
- data/bower_components/leaflet/docs/docs/highlight/LICENSE +24 -0
- data/bower_components/leaflet/docs/docs/highlight/highlight.pack.js +1 -0
- data/bower_components/leaflet/docs/docs/highlight/styles/github-gist.css +211 -0
- data/bower_components/leaflet/docs/docs/images/2016-03-20-prosthetic-hand-zooming.gif +0 -0
- data/bower_components/leaflet/docs/docs/images/2016-04-18-inheritances.gif +0 -0
- data/bower_components/leaflet/docs/docs/images/2016-04-18-leaflet-toilet-paper.jpeg +0 -0
- data/bower_components/leaflet/docs/docs/images/2016-04-18-madrid-leaflet-864px.jpg +0 -0
- data/bower_components/leaflet/docs/docs/images/2016-07-18-remote-session.png +0 -0
- data/bower_components/leaflet/docs/docs/images/2016-07-18-tooltip.png +0 -0
- data/bower_components/leaflet/docs/docs/images/2016-08-03-iraq-hacking.jpg +0 -0
- data/bower_components/leaflet/docs/docs/images/favicon.ico +0 -0
- data/bower_components/leaflet/docs/docs/images/forum-round.png +0 -0
- data/bower_components/leaflet/docs/docs/images/github-round.png +0 -0
- data/bower_components/leaflet/docs/docs/images/logo.png +0 -0
- data/bower_components/leaflet/docs/docs/images/logos.png +0 -0
- data/bower_components/leaflet/docs/docs/images/sprite.png +0 -0
- data/bower_components/leaflet/docs/docs/images/sprite.svg +75 -0
- data/bower_components/leaflet/docs/docs/images/twitter-round.png +0 -0
- data/bower_components/leaflet/docs/docs/images/twitter.png +0 -0
- data/bower_components/leaflet/docs/docs/js/docs.js +52 -0
- data/bower_components/leaflet/docs/download.md +95 -0
- data/bower_components/leaflet/docs/examples.md +125 -0
- data/bower_components/leaflet/docs/examples/choropleth-example.md +5 -0
- data/bower_components/leaflet/docs/examples/choropleth.md +5 -0
- data/bower_components/leaflet/docs/examples/choropleth/example-basic.md +20 -0
- data/bower_components/leaflet/docs/examples/choropleth/example-color.md +46 -0
- data/bower_components/leaflet/docs/examples/choropleth/example.md +159 -0
- data/bower_components/leaflet/docs/examples/choropleth/index.md +232 -0
- data/bower_components/leaflet/docs/examples/choropleth/thumbnail.png +0 -0
- data/bower_components/leaflet/docs/examples/choropleth/us-states.js +54 -0
- data/bower_components/leaflet/docs/examples/crs-simple/crs-simple-example1.md +16 -0
- data/bower_components/leaflet/docs/examples/crs-simple/crs-simple-example2.md +20 -0
- data/bower_components/leaflet/docs/examples/crs-simple/crs-simple-example3.md +38 -0
- data/bower_components/leaflet/docs/examples/crs-simple/crs-simple.md +117 -0
- data/bower_components/leaflet/docs/examples/crs-simple/thumbnail.png +0 -0
- data/bower_components/leaflet/docs/examples/crs-simple/uqm_map_400px.png +0 -0
- data/bower_components/leaflet/docs/examples/crs-simple/uqm_map_detail.png +0 -0
- data/bower_components/leaflet/docs/examples/crs-simple/uqm_map_full.png +0 -0
- data/bower_components/leaflet/docs/examples/custom-icons-example.md +5 -0
- data/bower_components/leaflet/docs/examples/custom-icons.md +5 -0
- data/bower_components/leaflet/docs/examples/custom-icons/example-one-icon.md +27 -0
- data/bower_components/leaflet/docs/examples/custom-icons/example.md +31 -0
- data/bower_components/leaflet/docs/examples/custom-icons/index.md +79 -0
- data/bower_components/leaflet/docs/examples/custom-icons/leaf-green.png +0 -0
- data/bower_components/leaflet/docs/examples/custom-icons/leaf-orange.png +0 -0
- data/bower_components/leaflet/docs/examples/custom-icons/leaf-red.png +0 -0
- data/bower_components/leaflet/docs/examples/custom-icons/leaf-shadow.png +0 -0
- data/bower_components/leaflet/docs/examples/custom-icons/thumbnail.png +0 -0
- data/bower_components/leaflet/docs/examples/extending/canvascircles.md +37 -0
- data/bower_components/leaflet/docs/examples/extending/class-diagram.md +24 -0
- data/bower_components/leaflet/docs/examples/extending/class-diagram.png +0 -0
- data/bower_components/leaflet/docs/examples/extending/class-diagram.txt +100 -0
- data/bower_components/leaflet/docs/examples/extending/extending-1-classes.md +196 -0
- data/bower_components/leaflet/docs/examples/extending/extending-2-layers.md +210 -0
- data/bower_components/leaflet/docs/examples/extending/extending-3-controls.md +100 -0
- data/bower_components/leaflet/docs/examples/extending/gridcoords.md +32 -0
- data/bower_components/leaflet/docs/examples/extending/kittenlayer.md +29 -0
- data/bower_components/leaflet/docs/examples/extending/pixelorigin.md +90 -0
- data/bower_components/leaflet/docs/examples/extending/thumbnail-1.png +0 -0
- data/bower_components/leaflet/docs/examples/extending/thumbnail-2.png +0 -0
- data/bower_components/leaflet/docs/examples/extending/thumbnail-3.png +0 -0
- data/bower_components/leaflet/docs/examples/extending/tilt.md +59 -0
- data/bower_components/leaflet/docs/examples/extending/watermark.md +36 -0
- data/bower_components/leaflet/docs/examples/geojson-example.md +5 -0
- data/bower_components/leaflet/docs/examples/geojson.md +5 -0
- data/bower_components/leaflet/docs/examples/geojson/baseball-marker.png +0 -0
- data/bower_components/leaflet/docs/examples/geojson/example.md +78 -0
- data/bower_components/leaflet/docs/examples/geojson/geojson-example.html +89 -0
- data/bower_components/leaflet/docs/examples/geojson/geojson.html +281 -0
- data/bower_components/leaflet/docs/examples/geojson/index.md +205 -0
- data/bower_components/leaflet/docs/examples/geojson/sample-geojson.js +248 -0
- data/bower_components/leaflet/docs/examples/geojson/thumbnail.png +0 -0
- data/bower_components/leaflet/docs/examples/layers-control-example.md +5 -0
- data/bower_components/leaflet/docs/examples/layers-control.md +5 -0
- data/bower_components/leaflet/docs/examples/layers-control/example.md +38 -0
- data/bower_components/leaflet/docs/examples/layers-control/index.md +72 -0
- data/bower_components/leaflet/docs/examples/layers-control/thumbnail.png +0 -0
- data/bower_components/leaflet/docs/examples/map-panes-example.md +5 -0
- data/bower_components/leaflet/docs/examples/map-panes.md +5 -0
- data/bower_components/leaflet/docs/examples/map-panes/eu-countries.js +79 -0
- data/bower_components/leaflet/docs/examples/map-panes/example.md +38 -0
- data/bower_components/leaflet/docs/examples/map-panes/index.md +105 -0
- data/bower_components/leaflet/docs/examples/map-panes/thumbnail.png +0 -0
- data/bower_components/leaflet/docs/examples/mobile-example.md +5 -0
- data/bower_components/leaflet/docs/examples/mobile.md +5 -0
- data/bower_components/leaflet/docs/examples/mobile/example.md +42 -0
- data/bower_components/leaflet/docs/examples/mobile/index.md +72 -0
- data/bower_components/leaflet/docs/examples/mobile/thumbnail.png +0 -0
- data/bower_components/leaflet/docs/examples/quick-start-example.md +5 -0
- data/bower_components/leaflet/docs/examples/quick-start.md +5 -0
- data/bower_components/leaflet/docs/examples/quick-start/example-basic.md +19 -0
- data/bower_components/leaflet/docs/examples/quick-start/example-overlays.md +35 -0
- data/bower_components/leaflet/docs/examples/quick-start/example-popups.md +37 -0
- data/bower_components/leaflet/docs/examples/quick-start/example.md +46 -0
- data/bower_components/leaflet/docs/examples/quick-start/index.md +143 -0
- data/bower_components/leaflet/docs/examples/quick-start/thumbnail.png +0 -0
- data/bower_components/leaflet/docs/examples/video-overlay/example-bounds.md +23 -0
- data/bower_components/leaflet/docs/examples/video-overlay/example-nocontrols.md +31 -0
- data/bower_components/leaflet/docs/examples/video-overlay/example.md +58 -0
- data/bower_components/leaflet/docs/examples/video-overlay/index.md +122 -0
- data/bower_components/leaflet/docs/examples/video-overlay/thumbnail.gif +0 -0
- data/bower_components/leaflet/docs/examples/wms/qgis-wms-layers.png +0 -0
- data/bower_components/leaflet/docs/examples/wms/thumbnail.png +0 -0
- data/bower_components/leaflet/docs/examples/wms/wms-example-crs.md +18 -0
- data/bower_components/leaflet/docs/examples/wms/wms-example1.md +16 -0
- data/bower_components/leaflet/docs/examples/wms/wms-example2.md +16 -0
- data/bower_components/leaflet/docs/examples/wms/wms-example3.md +34 -0
- data/bower_components/leaflet/docs/examples/wms/wms-example4.md +29 -0
- data/bower_components/leaflet/docs/examples/wms/wms.md +157 -0
- data/bower_components/leaflet/docs/examples/zoom-levels/example-delta.md +40 -0
- data/bower_components/leaflet/docs/examples/zoom-levels/example-fractional.md +56 -0
- data/bower_components/leaflet/docs/examples/zoom-levels/example-scale.md +29 -0
- data/bower_components/leaflet/docs/examples/zoom-levels/example-setzoom.md +44 -0
- data/bower_components/leaflet/docs/examples/zoom-levels/example-zero.md +19 -0
- data/bower_components/leaflet/docs/examples/zoom-levels/index.md +275 -0
- data/bower_components/leaflet/docs/examples/zoom-levels/thumbnail.png +0 -0
- data/bower_components/leaflet/docs/index.html +218 -0
- data/bower_components/leaflet/docs/plugins.md +3854 -0
- data/bower_components/leaflet/docs/reference-0.7.7.html +6424 -0
- data/bower_components/leaflet/docs/reference-1.0.0.html +22889 -0
- data/bower_components/leaflet/docs/reference-1.0.2.html +23382 -0
- data/bower_components/leaflet/docs/reference-1.0.3.html +23495 -0
- data/bower_components/leaflet/docs/reference-tpl.html +89 -0
- data/bower_components/leaflet/docs/reference-versions.html +16 -0
- data/bower_components/leaflet/docs/reference.html +3 -0
- data/bower_components/leaflet/package.json +77 -16
- data/columbus3.gemspec +1 -1
- data/doc/ChangeLog.org +10 -0
- data/doc/manual.txt +122 -0
- data/doc/todo.org +63 -0
- data/exe/columbus3 +2 -246
- data/lib/columbus3.rb +12 -7
- data/lib/columbus3/cli/command_semantics.rb +352 -0
- data/lib/columbus3/cli/command_syntax.rb +103 -0
- data/lib/columbus3/metadata/query_parser.racc +21 -7
- data/lib/columbus3/metadata/query_parser.tab.rb +34 -34
- data/lib/columbus3/metadata/sidecar.rb +1 -1
- data/lib/columbus3/renderer/flot_renderer.rb +3 -8
- data/lib/columbus3/renderer/leaflet_renderer.rb +18 -29
- data/lib/columbus3/renderer/sanitizer.rb +8 -0
- data/lib/columbus3/v900track/gpx2v900.rb +31 -0
- data/lib/columbus3/v900track/v900track.rb +34 -8
- data/lib/columbus3/v900track/v900waypoint.rb +9 -0
- data/lib/columbus3/version.rb +1 -1
- data/lib/html/flot.html.erb +6 -6
- data/lib/html/show.html.erb +53 -76
- data/lib/html/track.js.erb +58 -12
- metadata +222 -23
- data/README.textile +0 -67
- data/bower_components/jquery/src/ajax/parseJSON.js +0 -13
- data/bower_components/jquery/src/css/defaultDisplay.js +0 -70
- data/bower_components/jquery/src/css/var/isHidden.js +0 -13
- data/bower_components/jquery/src/intro.js +0 -44
- data/bower_components/jquery/src/outro.js +0 -1
- data/bower_components/jquery/src/sizzle/dist/sizzle.min.js +0 -3
- data/bower_components/jquery/src/sizzle/dist/sizzle.min.map +0 -1
- data/bower_components/jquery/src/var/rnotwhite.js +0 -3
- data/bower_components/jquery/src/var/strundefined.js +0 -3
- data/bower_components/leaflet/component.json +0 -20
@@ -1,21 +1,20 @@
|
|
1
|
-
define([
|
1
|
+
define( [
|
2
2
|
"./core",
|
3
3
|
"./core/init",
|
4
4
|
"./manipulation", // clone
|
5
5
|
"./traversing" // parent, contents
|
6
6
|
], function( jQuery ) {
|
7
7
|
|
8
|
-
|
8
|
+
"use strict";
|
9
|
+
|
10
|
+
jQuery.fn.extend( {
|
9
11
|
wrapAll: function( html ) {
|
10
12
|
var wrap;
|
11
13
|
|
12
|
-
if ( jQuery.isFunction( html ) ) {
|
13
|
-
return this.each(function( i ) {
|
14
|
-
jQuery( this ).wrapAll( html.call(this, i) );
|
15
|
-
});
|
16
|
-
}
|
17
|
-
|
18
14
|
if ( this[ 0 ] ) {
|
15
|
+
if ( jQuery.isFunction( html ) ) {
|
16
|
+
html = html.call( this[ 0 ] );
|
17
|
+
}
|
19
18
|
|
20
19
|
// The elements to wrap the target around
|
21
20
|
wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true );
|
@@ -24,7 +23,7 @@ jQuery.fn.extend({
|
|
24
23
|
wrap.insertBefore( this[ 0 ] );
|
25
24
|
}
|
26
25
|
|
27
|
-
wrap.map(function() {
|
26
|
+
wrap.map( function() {
|
28
27
|
var elem = this;
|
29
28
|
|
30
29
|
while ( elem.firstElementChild ) {
|
@@ -32,7 +31,7 @@ jQuery.fn.extend({
|
|
32
31
|
}
|
33
32
|
|
34
33
|
return elem;
|
35
|
-
}).append( this );
|
34
|
+
} ).append( this );
|
36
35
|
}
|
37
36
|
|
38
37
|
return this;
|
@@ -40,12 +39,12 @@ jQuery.fn.extend({
|
|
40
39
|
|
41
40
|
wrapInner: function( html ) {
|
42
41
|
if ( jQuery.isFunction( html ) ) {
|
43
|
-
return this.each(function( i ) {
|
44
|
-
jQuery( this ).wrapInner( html.call(this, i) );
|
45
|
-
});
|
42
|
+
return this.each( function( i ) {
|
43
|
+
jQuery( this ).wrapInner( html.call( this, i ) );
|
44
|
+
} );
|
46
45
|
}
|
47
46
|
|
48
|
-
return this.each(function() {
|
47
|
+
return this.each( function() {
|
49
48
|
var self = jQuery( this ),
|
50
49
|
contents = self.contents();
|
51
50
|
|
@@ -55,25 +54,24 @@ jQuery.fn.extend({
|
|
55
54
|
} else {
|
56
55
|
self.append( html );
|
57
56
|
}
|
58
|
-
});
|
57
|
+
} );
|
59
58
|
},
|
60
59
|
|
61
60
|
wrap: function( html ) {
|
62
61
|
var isFunction = jQuery.isFunction( html );
|
63
62
|
|
64
|
-
return this.each(function( i ) {
|
65
|
-
jQuery( this ).wrapAll( isFunction ? html.call(this, i) : html );
|
66
|
-
});
|
63
|
+
return this.each( function( i ) {
|
64
|
+
jQuery( this ).wrapAll( isFunction ? html.call( this, i ) : html );
|
65
|
+
} );
|
67
66
|
},
|
68
67
|
|
69
|
-
unwrap: function() {
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
}).end();
|
68
|
+
unwrap: function( selector ) {
|
69
|
+
this.parent( selector ).not( "body" ).each( function() {
|
70
|
+
jQuery( this ).replaceWith( this.childNodes );
|
71
|
+
} );
|
72
|
+
return this;
|
75
73
|
}
|
76
|
-
});
|
74
|
+
} );
|
77
75
|
|
78
76
|
return jQuery;
|
79
|
-
});
|
77
|
+
} );
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "leaflet-providers",
|
3
|
-
"version": "1.1.
|
3
|
+
"version": "1.1.17",
|
4
4
|
"homepage": "https://github.com/leaflet-extras/leaflet-providers",
|
5
5
|
"description": "An extension to Leaflet that contains configurations for various free tile providers.",
|
6
6
|
"dependencies": {
|
@@ -22,14 +22,13 @@
|
|
22
22
|
"preview",
|
23
23
|
"*.html"
|
24
24
|
],
|
25
|
-
"_release": "1.1.
|
25
|
+
"_release": "1.1.17",
|
26
26
|
"_resolution": {
|
27
27
|
"type": "version",
|
28
|
-
"tag": "1.1.
|
29
|
-
"commit": "
|
28
|
+
"tag": "1.1.17",
|
29
|
+
"commit": "dc5c84b534cee292d30a63fd9349078a1f8a2b43"
|
30
30
|
},
|
31
|
-
"_source": "
|
31
|
+
"_source": "https://github.com/leaflet-extras/leaflet-providers.git",
|
32
32
|
"_target": "~1.1.1",
|
33
|
-
"_originalSource": "leaflet-providers"
|
34
|
-
"_direct": true
|
33
|
+
"_originalSource": "leaflet-providers"
|
35
34
|
}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
|
2
|
+
# Leaflet-providers changelog
|
3
|
+
|
4
|
+
## 1.1.17 (2017-06-29)
|
5
|
+
- Added `maxZoom` for `Hydda` provider [242](https://github.com/leaflet-extras/leaflet-providers/pull/242)
|
6
|
+
- Fixed `maxZoom` for all layers from the `thunderforest` provider
|
7
|
+
- Added protocol relativity to the url for `OpenStreetMap.DE` variant.
|
8
|
+
- Added `OpenStreetMap.BZH` [#255](https://github.com/leaflet-extras/leaflet-providers/pull/255)
|
9
|
+
- Added `nlmaps` provider [#254](https://github.com/leaflet-extras/leaflet-providers/pull/254)
|
10
|
+
|
11
|
+
## 1.1.16 (2016-11-04)
|
12
|
+
- Updates to reflect changes in [BasemapAT](http://leaflet-extras.github.io/leaflet-providers/preview/#filter=BasemapAT) by [@ximex](https://github.com/ximex), [#232]((https://github.com/leaflet-extras/leaflet-providers/pull/232), [#233]((https://github.com/leaflet-extras/leaflet-providers/pull/233)
|
13
|
+
- Bump leaflet version in tests and preview to 1.0.1.
|
14
|
+
- Added some layers from http://justicemap.org [#224](https://github.com/leaflet-extras/leaflet-providers/pull/224).
|
15
|
+
|
16
|
+
## 1.1.15 (2016-08-09)
|
17
|
+
- [Stamen terrain](http://leaflet-extras.github.io/leaflet-providers/preview/#filter=Stamen.Terrain) now has world coverage [#223](https://github.com/leaflet-extras/leaflet-providers/pull/223)
|
18
|
+
- OSM France `maxZoom`: 20 ([#222](https://github.com/leaflet-extras/leaflet-providers/pull/222), fixes [#221](https://github.com/leaflet-extras/leaflet-providers/issues/221))
|
19
|
+
|
20
|
+
## 1.1.14 (2016-07-15)
|
21
|
+
- Remove MapQuest, fixes #219
|
22
|
+
- Accidently skipped v1.1.12 and v1.1.13
|
23
|
+
|
24
|
+
## 1.1.11 (2016-06-04)
|
25
|
+
- Added protocol relativity to OSM FR, OSM HOT and Hydda providers (#214, #215).
|
26
|
+
|
27
|
+
## 1.1.9 (2016-03-23)
|
28
|
+
- Re-added HERE layers #209, discussion in #206.
|
29
|
+
|
30
|
+
## 1.1.8 (2016-03-22)
|
31
|
+
- Removed HERE layers #206
|
32
|
+
|
33
|
+
## 1.1.7 (2015-12-16)
|
34
|
+
- Removed Acetate tile layers #198
|
35
|
+
|
36
|
+
## 1.1.6 (2015-11-03)
|
37
|
+
- Removed most of the NLS layers per NLS request #193, fixes #178
|
38
|
+
- Added new variants to the HERE provider #183 by [@andreaswc](https://github.com/andreaswc)
|
39
|
+
- Added some tests to make sure all the placeholders in the url template are replaced #188
|
40
|
+
|
41
|
+
## 1.1.5 (2015-10-01)
|
42
|
+
- Improvements for the NLS layers #182 by [@tomhughes](https://github.com/tomhughes)
|
43
|
+
- Check for valid bounds before fitting the preview map to undefined (fixes #185)
|
44
|
+
- Add bounds for FreeMapSK (fixes #184)
|
45
|
+
- Fix Stamen layers with `.jpg` extension (#187, fixes #184)
|
46
|
+
|
47
|
+
## 1.1.4 (2015-09-27)
|
48
|
+
- Only include the interesting files in the npm package #180
|
49
|
+
- Add GSGS_Ireland to NLS provider with `tms:true` to invert y-axis #181
|
50
|
+
|
51
|
+
## 1.1.3 (2015-09-26)
|
52
|
+
- Add various historical layers of the Natioanal library of Scotland (NLS) #179
|
53
|
+
- Add a page to visually check bounds #179
|
54
|
+
|
55
|
+
## 1.1.2 (2015-09-05)
|
56
|
+
- Add CartoDB labels-only styles #170 by [@almccon](https://github.com/almccon)
|
57
|
+
- Implement commonjs module #172
|
58
|
+
- Added retina URL option #177, [@routexl](https://github.com/routexl)
|
59
|
+
|
60
|
+
## 1.1.1 (2015-06-22)
|
61
|
+
- Update Mapbox API to v4 #167 by [@gutenye](https://github.com/gutenye)
|
62
|
+
- Started maintaining a changelog in CHANGELOG.md.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Leaflet-providers
|
2
2
|
=================
|
3
|
-
An extension to [Leaflet](http://leafletjs.com/) that contains configurations for various free tile providers.
|
3
|
+
An extension to [Leaflet](http://leafletjs.com/) that contains configurations for various free<sup>[1](#what-is-free)</sup> tile providers.
|
4
4
|
|
5
5
|
# Usage
|
6
6
|
Leaflet-providers [providers](#providers) are refered to with a `provider[.<variant>]`-string. Let's say you want to add the nice [Watercolor](http://maps.stamen.com/#watercolor/) style from Stamen to your map, you pass `Stamen.Watercolor` to the `L.tileLayer.provider`-constructor, which will return a [L.TileLayer](http://leafletjs.com/reference.html#tilelayer) instance for Stamens Watercolor tile layer.
|
@@ -15,13 +15,17 @@ L.tileLayer.provider('Stamen.Watercolor').addTo(map);
|
|
15
15
|
Leaflet-providers tries to use `https://` if the page uses `https://` and the provider supports it.
|
16
16
|
You can force the use of `http://` by passing `force_http: true` in the options argument.
|
17
17
|
|
18
|
+
## Retina tiles
|
19
|
+
|
20
|
+
Some providers have retina tiles for which the URL only needs to be slightly adjusted, e.g. `-----@2x.png`. For this, add the retina option in the URL, e.g. `-----{retina}.png`, and set a retina value in the options, e.g. `retina: '@2x'`. If Leaflet detects a retina screen (`L.Browser.retina`), the retina option passed to the tileLayer is set to the value supplied, otherwise it's replaced by an empty string.
|
21
|
+
|
18
22
|
# Providers
|
19
23
|
|
20
|
-
Leaflet-providers provides tile layers from different providers, including *OpenStreetMap*, *
|
24
|
+
Leaflet-providers provides tile layers from different providers, including *OpenStreetMap*, *Stamen*, *Esri* and *OpenWeatherMap*. The full listing of free to use layers can be [previewed](http://leaflet-extras.github.io/leaflet-providers/preview/index.html). The page will show you the name to use with `leaflet-providers.js` and the code to use it without dependencies.
|
21
25
|
|
22
26
|
## Providers requiring registration
|
23
27
|
|
24
|
-
In addition to the providers you are free to use, we support some layers which require registration.
|
28
|
+
In addition to the providers you are free<b id="what-is-free">1</b> to use, we support some layers which require registration.
|
25
29
|
|
26
30
|
### HERE (formerly Nokia).
|
27
31
|
|
@@ -52,3 +56,8 @@ In order to use ArcGIS maps, you must [register](https://developers.arcgis.com/e
|
|
52
56
|
# Attribution
|
53
57
|
|
54
58
|
This work was inspired from <https://gist.github.com/1804938>, and originally created by [Stefan Seelmann](https://github.com/seelmann).
|
59
|
+
|
60
|
+
### What do we mean by *free*?
|
61
|
+
<b id="what-is-free">1</b>
|
62
|
+
We try to maintain leaflet-providers in such a way that you'll be able to use the layers we include without paying money.
|
63
|
+
This doesn't mean no limits apply, you should always check before using these layers for anything serious.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "leaflet-providers",
|
3
|
-
"version": "1.1.
|
3
|
+
"version": "1.1.17",
|
4
4
|
"homepage": "https://github.com/leaflet-extras/leaflet-providers",
|
5
5
|
"description": "An extension to Leaflet that contains configurations for various free tile providers.",
|
6
6
|
"dependencies": {
|
@@ -1,11 +1,14 @@
|
|
1
1
|
(function (root, factory) {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
2
|
+
if (typeof define === 'function' && define.amd) {
|
3
|
+
// AMD. Register as an anonymous module.
|
4
|
+
define(['leaflet'], factory);
|
5
|
+
} else if (typeof modules === 'object' && module.exports) {
|
6
|
+
// define a Common JS module that relies on 'leaflet'
|
7
|
+
module.exports = factory(require('leaflet'));
|
8
|
+
} else {
|
9
|
+
// Assume Leaflet is loaded into global object L already
|
10
|
+
factory(L);
|
11
|
+
}
|
9
12
|
}(this, function (L) {
|
10
13
|
'use strict';
|
11
14
|
|
@@ -45,8 +48,6 @@
|
|
45
48
|
url: variant.url || provider.url,
|
46
49
|
options: L.Util.extend({}, provider.options, variantOptions)
|
47
50
|
};
|
48
|
-
} else if (typeof provider.url === 'function') {
|
49
|
-
provider.url = provider.url(parts.splice(1, parts.length - 1).join('.'));
|
50
51
|
}
|
51
52
|
|
52
53
|
var forceHTTP = window.location.protocol === 'file:' || provider.options.forceHTTP;
|
@@ -54,6 +55,19 @@
|
|
54
55
|
provider.url = 'http:' + provider.url;
|
55
56
|
}
|
56
57
|
|
58
|
+
// If retina option is set
|
59
|
+
if (provider.options.retina) {
|
60
|
+
// Check retina screen
|
61
|
+
if (options.detectRetina && L.Browser.retina) {
|
62
|
+
// The retina option will be active now
|
63
|
+
// But we need to prevent Leaflet retina mode
|
64
|
+
options.detectRetina = false;
|
65
|
+
} else {
|
66
|
+
// No retina, remove option
|
67
|
+
provider.options.retina = '';
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
57
71
|
// replace attribution placeholders with their values from toplevel provider attribution,
|
58
72
|
// recursively
|
59
73
|
var attributionReplacer = function (attr) {
|
@@ -96,19 +110,20 @@
|
|
96
110
|
}
|
97
111
|
},
|
98
112
|
DE: {
|
99
|
-
url: '
|
113
|
+
url: '//{s}.tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png',
|
100
114
|
options: {
|
101
115
|
maxZoom: 18
|
102
116
|
}
|
103
117
|
},
|
104
118
|
France: {
|
105
|
-
url: '
|
119
|
+
url: '//{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png',
|
106
120
|
options: {
|
121
|
+
maxZoom: 20,
|
107
122
|
attribution: '© Openstreetmap France | {attribution.OpenStreetMap}'
|
108
123
|
}
|
109
124
|
},
|
110
125
|
HOT: {
|
111
|
-
url: '
|
126
|
+
url: '//{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png',
|
112
127
|
options: {
|
113
128
|
attribution: '{attribution.OpenStreetMap}, Tiles courtesy of <a href="http://hot.openstreetmap.org/" target="_blank">Humanitarian OpenStreetMap Team</a>'
|
114
129
|
}
|
@@ -124,37 +139,43 @@
|
|
124
139
|
OpenTopoMap: {
|
125
140
|
url: '//{s}.tile.opentopomap.org/{z}/{x}/{y}.png',
|
126
141
|
options: {
|
127
|
-
maxZoom:
|
142
|
+
maxZoom: 17,
|
128
143
|
attribution: 'Map data: {attribution.OpenStreetMap}, <a href="http://viewfinderpanoramas.org">SRTM</a> | Map style: © <a href="https://opentopomap.org">OpenTopoMap</a> (<a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a>)'
|
129
144
|
}
|
130
145
|
},
|
131
146
|
Thunderforest: {
|
132
|
-
url: '//{s}.tile.thunderforest.com/{variant}/{z}/{x}/{y}.png',
|
147
|
+
url: '//{s}.tile.thunderforest.com/{variant}/{z}/{x}/{y}.png?apikey={apikey}',
|
133
148
|
options: {
|
134
149
|
attribution:
|
135
|
-
'© <a href="http://www.
|
136
|
-
variant: 'cycle'
|
150
|
+
'© <a href="http://www.thunderforest.com/">Thunderforest</a>, {attribution.OpenStreetMap}',
|
151
|
+
variant: 'cycle',
|
152
|
+
apikey: '<insert your api key here>',
|
153
|
+
maxZoom: 22
|
137
154
|
},
|
138
155
|
variants: {
|
139
156
|
OpenCycleMap: 'cycle',
|
140
157
|
Transport: {
|
141
158
|
options: {
|
142
|
-
variant: 'transport'
|
143
|
-
maxZoom: 19
|
159
|
+
variant: 'transport'
|
144
160
|
}
|
145
161
|
},
|
146
162
|
TransportDark: {
|
147
163
|
options: {
|
148
|
-
variant: 'transport-dark'
|
149
|
-
|
164
|
+
variant: 'transport-dark'
|
165
|
+
}
|
166
|
+
},
|
167
|
+
SpinalMap: {
|
168
|
+
options: {
|
169
|
+
variant: 'spinal-map'
|
150
170
|
}
|
151
171
|
},
|
152
172
|
Landscape: 'landscape',
|
153
|
-
Outdoors: 'outdoors'
|
173
|
+
Outdoors: 'outdoors',
|
174
|
+
Pioneer: 'pioneer'
|
154
175
|
}
|
155
176
|
},
|
156
177
|
OpenMapSurfer: {
|
157
|
-
url: 'http://
|
178
|
+
url: 'http://korona.geog.uni-heidelberg.de/tiles/{variant}/x={x}&y={y}&z={z}',
|
158
179
|
options: {
|
159
180
|
maxZoom: 20,
|
160
181
|
variant: 'roads',
|
@@ -177,8 +198,9 @@
|
|
177
198
|
}
|
178
199
|
},
|
179
200
|
Hydda: {
|
180
|
-
url: '
|
201
|
+
url: '//{s}.tile.openstreetmap.se/hydda/{variant}/{z}/{x}/{y}.png',
|
181
202
|
options: {
|
203
|
+
maxZoom: 18,
|
182
204
|
variant: 'full',
|
183
205
|
attribution: 'Tiles courtesy of <a href="http://openstreetmap.se/" target="_blank">OpenStreetMap Sweden</a> — Map data {attribution.OpenStreetMap}'
|
184
206
|
},
|
@@ -188,50 +210,19 @@
|
|
188
210
|
RoadsAndLabels: 'roads_and_labels'
|
189
211
|
}
|
190
212
|
},
|
191
|
-
MapQuestOpen: {
|
192
|
-
/* Mapquest does support https, but with a different subdomain:
|
193
|
-
* https://otile{s}-s.mqcdn.com/tiles/1.0.0/{type}/{z}/{x}/{y}.{ext}
|
194
|
-
* which makes implementing protocol relativity impossible.
|
195
|
-
*/
|
196
|
-
url: 'http://otile{s}.mqcdn.com/tiles/1.0.0/{type}/{z}/{x}/{y}.{ext}',
|
197
|
-
options: {
|
198
|
-
type: 'map',
|
199
|
-
ext: 'jpg',
|
200
|
-
attribution:
|
201
|
-
'Tiles Courtesy of <a href="http://www.mapquest.com/">MapQuest</a> — ' +
|
202
|
-
'Map data {attribution.OpenStreetMap}',
|
203
|
-
subdomains: '1234'
|
204
|
-
},
|
205
|
-
variants: {
|
206
|
-
OSM: {},
|
207
|
-
Aerial: {
|
208
|
-
options: {
|
209
|
-
type: 'sat',
|
210
|
-
attribution:
|
211
|
-
'Tiles Courtesy of <a href="http://www.mapquest.com/">MapQuest</a> — ' +
|
212
|
-
'Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency'
|
213
|
-
}
|
214
|
-
},
|
215
|
-
HybridOverlay: {
|
216
|
-
options: {
|
217
|
-
type: 'hyb',
|
218
|
-
ext: 'png',
|
219
|
-
opacity: 0.9
|
220
|
-
}
|
221
|
-
}
|
222
|
-
}
|
223
|
-
},
|
224
213
|
MapBox: {
|
225
214
|
url: '//api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}',
|
226
215
|
options: {
|
227
216
|
attribution:
|
228
217
|
'Imagery from <a href="http://mapbox.com/about/maps/">MapBox</a> — ' +
|
229
218
|
'Map data {attribution.OpenStreetMap}',
|
230
|
-
subdomains: 'abcd'
|
219
|
+
subdomains: 'abcd',
|
220
|
+
id: 'streets',
|
221
|
+
accessToken: '<insert your access token here>',
|
231
222
|
}
|
232
223
|
},
|
233
224
|
Stamen: {
|
234
|
-
url: '//stamen-tiles-{s}.a.ssl.fastly.net/{variant}/{z}/{x}/{y}.
|
225
|
+
url: '//stamen-tiles-{s}.a.ssl.fastly.net/{variant}/{z}/{x}/{y}.{ext}',
|
235
226
|
options: {
|
236
227
|
attribution:
|
237
228
|
'Map tiles by <a href="http://stamen.com">Stamen Design</a>, ' +
|
@@ -260,17 +251,15 @@
|
|
260
251
|
Terrain: {
|
261
252
|
options: {
|
262
253
|
variant: 'terrain',
|
263
|
-
minZoom:
|
264
|
-
maxZoom: 18
|
265
|
-
bounds: [[22, -132], [70, -56]]
|
254
|
+
minZoom: 0,
|
255
|
+
maxZoom: 18
|
266
256
|
}
|
267
257
|
},
|
268
258
|
TerrainBackground: {
|
269
259
|
options: {
|
270
260
|
variant: 'terrain-background',
|
271
|
-
minZoom:
|
272
|
-
maxZoom: 18
|
273
|
-
bounds: [[22, -132], [70, -56]]
|
261
|
+
minZoom: 0,
|
262
|
+
maxZoom: 18
|
274
263
|
}
|
275
264
|
},
|
276
265
|
TopOSMRelief: {
|
@@ -406,8 +395,8 @@
|
|
406
395
|
*/
|
407
396
|
url:
|
408
397
|
'//{s}.{base}.maps.cit.api.here.com/maptile/2.1/' +
|
409
|
-
'
|
410
|
-
'app_id={app_id}&app_code={app_code}',
|
398
|
+
'{type}/{mapID}/{variant}/{z}/{x}/{y}/{size}/{format}?' +
|
399
|
+
'app_id={app_id}&app_code={app_code}&lg={language}',
|
411
400
|
options: {
|
412
401
|
attribution:
|
413
402
|
'Map © 1987-2014 <a href="http://developer.here.com">HERE</a>',
|
@@ -417,7 +406,11 @@
|
|
417
406
|
'app_code': '<insert your app_code here>',
|
418
407
|
base: 'base',
|
419
408
|
variant: 'normal.day',
|
420
|
-
maxZoom: 20
|
409
|
+
maxZoom: 20,
|
410
|
+
type: 'maptile',
|
411
|
+
language: 'eng',
|
412
|
+
format: 'png8',
|
413
|
+
size: '256'
|
421
414
|
},
|
422
415
|
variants: {
|
423
416
|
normalDay: 'normal.day',
|
@@ -432,6 +425,23 @@
|
|
432
425
|
normalNightGrey: 'normal.night.grey',
|
433
426
|
normalNightGreyMobile: 'normal.night.grey.mobile',
|
434
427
|
|
428
|
+
basicMap: {
|
429
|
+
options: {
|
430
|
+
type: 'basetile'
|
431
|
+
}
|
432
|
+
},
|
433
|
+
mapLabels: {
|
434
|
+
options: {
|
435
|
+
type: 'labeltile',
|
436
|
+
format: 'png'
|
437
|
+
}
|
438
|
+
},
|
439
|
+
trafficFlow: {
|
440
|
+
options: {
|
441
|
+
base: 'traffic',
|
442
|
+
type: 'flowtile'
|
443
|
+
}
|
444
|
+
},
|
435
445
|
carnavDayGrey: 'carnav.day.grey',
|
436
446
|
hybridDay: {
|
437
447
|
options: {
|
@@ -467,32 +477,13 @@
|
|
467
477
|
}
|
468
478
|
}
|
469
479
|
},
|
470
|
-
Acetate: {
|
471
|
-
url: 'http://a{s}.acetate.geoiq.com/tiles/{variant}/{z}/{x}/{y}.png',
|
472
|
-
options: {
|
473
|
-
attribution:
|
474
|
-
'©2012 Esri & Stamen, Data from OSM and Natural Earth',
|
475
|
-
subdomains: '0123',
|
476
|
-
minZoom: 2,
|
477
|
-
maxZoom: 18,
|
478
|
-
variant: 'acetate-base'
|
479
|
-
},
|
480
|
-
variants: {
|
481
|
-
basemap: 'acetate-base',
|
482
|
-
terrain: 'terrain',
|
483
|
-
all: 'acetate-hillshading',
|
484
|
-
foreground: 'acetate-fg',
|
485
|
-
roads: 'acetate-roads',
|
486
|
-
labels: 'acetate-labels',
|
487
|
-
hillshading: 'hillshading'
|
488
|
-
}
|
489
|
-
},
|
490
480
|
FreeMapSK: {
|
491
|
-
url: 'http://{s}.freemap.sk/T/{z}/{x}/{y}.jpeg',
|
481
|
+
url: 'http://t{s}.freemap.sk/T/{z}/{x}/{y}.jpeg',
|
492
482
|
options: {
|
493
483
|
minZoom: 8,
|
494
484
|
maxZoom: 16,
|
495
|
-
subdomains:
|
485
|
+
subdomains: '1234',
|
486
|
+
bounds: [[47.204642, 15.996093], [49.830896, 22.576904]],
|
496
487
|
attribution:
|
497
488
|
'{attribution.OpenStreetMap}, vizualization CC-By-SA 2.0 <a href="http://freemap.sk">Freemap.sk</a>'
|
498
489
|
}
|
@@ -515,8 +506,10 @@
|
|
515
506
|
variants: {
|
516
507
|
Positron: 'light_all',
|
517
508
|
PositronNoLabels: 'light_nolabels',
|
509
|
+
PositronOnlyLabels: 'light_only_labels',
|
518
510
|
DarkMatter: 'dark_all',
|
519
|
-
DarkMatterNoLabels: 'dark_nolabels'
|
511
|
+
DarkMatterNoLabels: 'dark_nolabels',
|
512
|
+
DarkMatterOnlyLabels: 'dark_only_labels'
|
520
513
|
}
|
521
514
|
},
|
522
515
|
HikeBike: {
|
@@ -537,7 +530,7 @@
|
|
537
530
|
}
|
538
531
|
},
|
539
532
|
BasemapAT: {
|
540
|
-
url: '
|
533
|
+
url: 'https://maps{s}.wien.gv.at/basemap/{variant}/normal/google3857/{z}/{y}/{x}.{format}',
|
541
534
|
options: {
|
542
535
|
maxZoom: 19,
|
543
536
|
attribution: 'Datenquelle: <a href="www.basemap.at">basemap.at</a>',
|
@@ -547,7 +540,12 @@
|
|
547
540
|
variant: 'geolandbasemap'
|
548
541
|
},
|
549
542
|
variants: {
|
550
|
-
basemap:
|
543
|
+
basemap: {
|
544
|
+
options: {
|
545
|
+
maxZoom: 20, // currently only in Vienna
|
546
|
+
variant: 'geolandbasemap'
|
547
|
+
}
|
548
|
+
},
|
551
549
|
grau: 'bmapgrau',
|
552
550
|
overlay: 'bmapoverlay',
|
553
551
|
highdpi: {
|
@@ -558,6 +556,7 @@
|
|
558
556
|
},
|
559
557
|
orthofoto: {
|
560
558
|
options: {
|
559
|
+
maxZoom: 20, // currently only in Vienna
|
561
560
|
variant: 'bmaporthofoto30cm',
|
562
561
|
format: 'jpeg'
|
563
562
|
}
|
@@ -619,6 +618,48 @@
|
|
619
618
|
}
|
620
619
|
}
|
621
620
|
}
|
621
|
+
},
|
622
|
+
NLS: {
|
623
|
+
// NLS maps are copyright National library of Scotland.
|
624
|
+
// http://maps.nls.uk/projects/api/index.html
|
625
|
+
// Please contact NLS for anything other than non-commercial low volume usage
|
626
|
+
//
|
627
|
+
// Map sources: Ordnance Survey 1:1m to 1:63K, 1920s-1940s
|
628
|
+
// z0-9 - 1:1m
|
629
|
+
// z10-11 - quarter inch (1:253440)
|
630
|
+
// z12-18 - one inch (1:63360)
|
631
|
+
url: '//nls-{s}.tileserver.com/nls/{z}/{x}/{y}.jpg',
|
632
|
+
options: {
|
633
|
+
attribution: '<a href="http://geo.nls.uk/maps/">National Library of Scotland Historic Maps</a>',
|
634
|
+
bounds: [[49.6, -12], [61.7, 3]],
|
635
|
+
minZoom: 1,
|
636
|
+
maxZoom: 18,
|
637
|
+
subdomains: '0123',
|
638
|
+
}
|
639
|
+
},
|
640
|
+
JusticeMap: {
|
641
|
+
// Justice Map (http://www.justicemap.org/)
|
642
|
+
// Visualize race and income data for your community, county and country.
|
643
|
+
// Includes tools for data journalists, bloggers and community activists.
|
644
|
+
url: 'http://www.justicemap.org/tile/{size}/{variant}/{z}/{x}/{y}.png',
|
645
|
+
options: {
|
646
|
+
attribution: '<a href="http://www.justicemap.org/terms.php">Justice Map</a>',
|
647
|
+
// one of 'county', 'tract', 'block'
|
648
|
+
size: 'county',
|
649
|
+
// Bounds for USA, including Alaska and Hawaii
|
650
|
+
bounds: [[14, -180], [72, -56]]
|
651
|
+
},
|
652
|
+
variants: {
|
653
|
+
income: 'income',
|
654
|
+
americanIndian: 'indian',
|
655
|
+
asian: 'asian',
|
656
|
+
black: 'black',
|
657
|
+
hispanic: 'hispanic',
|
658
|
+
multi: 'multi',
|
659
|
+
nonWhite: 'nonwhite',
|
660
|
+
white: 'white',
|
661
|
+
plurality: 'plural'
|
662
|
+
}
|
622
663
|
}
|
623
664
|
};
|
624
665
|
|