Open bpeng opened 8 years ago
google satellite layer by using the approach: https://gist.github.com/crofty/2197701
working, but slow and not smooth when zooming
https://github.com/shramov/leaflet-plugins/blob/master/examples/google.html https://hazmap-143a7.firebaseapp.com/leaflet-google2.html
_This is better_
leaflet Bing plugin https://github.com/shramov/leaflet-plugins
https://github.com/gmaclennan/leaflet-bing-layer/blob/gh-pages/index.html requires leaflet-1.0.0 or over
The problem with Google is that its Terms of Use forbid any means of tile access other than through the Google Maps API.
You can add the Google Maps API as a Leaflet layer with a plugin. But note that the map experience will not be perfect, because Leaflet will just act as a proxy to the Google Maps JS engine, so you won't get all the performance and usability benefits of using Leaflet when the Google layer is on.
-- Zoom levels: 0-11 -- Price/plan free: 15,000 transactions/month basic $99 30,000 business $399 200,000
-- Zoom levels: 0-18 -- Price/plan free 25,000 loads/day for 90 consecutive days $0.5 / 1000 additional loads up to 1,000,000 loads /day
-- Zoom levels: 0-23 -- Price/plan free < 50,000 cumulative transitions with any 24-hour period
-- Zoom levels: 0-8 -- Price/plan free 50,000 views /month standard $49 100,000 premium $499 1,000,000
The problem to use Google with Leaflet is that its Terms of Use forbid any means of tile access other than through the Google Maps API.
We can add Google Maps API as a Leaflet layer with a plugin. But the map experience will not be perfect, because Leaflet will just act as a proxy to the Google Maps JS engine, so we won't get all the performance and usability benefits of using Leaflet when the Google layer is on.
https://hazmap-143a7.firebaseapp.com/quakes-map-google.html
--Needs Leaflet plugin --Requires Leaflet-1.0 or over
Map layer with LINZ Imagery: http://rawgit.com/bpeng/hazmap/feature-baselayers/public/quakes-map-linz.html
LINZ elevation service: http://api.data.linz.govt.nz/api/rasterQuery.json?key=df00b26dbc294fc6b64da98e91a01078&layer=1768&x=174.9298387247414&y=-41.210128873520276
LINZ address data:
http://api.data.linz.govt.nz/api/vectorQuery.json?key=df00b26dbc294fc6b64da98e91a01078&layer=3353&x=174.93327731670158&y=-41.19552224999944&max_results=3&radius=10000&geometry=true&with_field_names=true
ArcGIS apps and online
https://doc.arcgis.com/en/arcgis-online/share-maps/publish-features.htm
https://www.arcgis.com/home/webmap/viewer.html?webmap=6591f91453b6450aaab7ebfbd2e74b97&extent=167.385,-43.3927,180,-35.5095
https://www.arcgis.com/home/webmap/viewer.html?webmap=6591f91453b6450aaab7ebfbd2e74b97&extent=167.385,-43.3927,180,-35.5095
http://arcg.is/2klptqE
Push
https://www.zhihu.com/question/20628786
leaflet base map layers:
https://github.com/Leaflet/Leaflet/issues/593
Leaflet layer refresh http://stackoverflow.com/questions/15440216/update-leaflet-geojson-layer-with-data-inside-bounding-box
https://github.com/Leaflet/Leaflet/issues/1324
OpenLayers:
https://github.com/openlayers/openlayers/blob/master/examples/synthetic-points.js
Bing maps update: https://www.microsoft.com/maps/discon-control-migrat-guide.aspx
Leaflet plugin: https://github.com/shramov/leaflet-plugins
GeoNet Map tiles investigation
http://mac16540.gns.cri.nz:8888/
http://hutl14681.gns.cri.nz/hazard/leaflet-google.html
https://hazmap-143a7.firebaseapp.com/leaflet-google.html
https://hazmap-143a7.firebaseapp.com/leaflet-google2.html
discussion:
https://github.com/GeoNet/geonet-web/issues/154 https://github.com/GeoNet/tickets/issues/739
Dynamic loading/Secure api key
http://stackoverflow.com/questions/1364858/what-steps-should-i-take-to-protect-my-google-maps-api-key http://stackoverflow.com/questions/1398657/dynamically-loading-google-maps-apis
https://github.com/gkoo/hubot-maps