bpeng / tickets

0 stars 0 forks source link

MAP #2

Open bpeng opened 8 years ago

bpeng commented 8 years ago

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

bpeng commented 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

bpeng commented 8 years ago

I want to use Google Maps API tiles with Leaflet, can I do that?

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.

bpeng commented 8 years ago

Comparison of Map servers (Satellite images)

MapQuest

-- Zoom levels: 0-11 -- Price/plan free: 15,000 transactions/month basic $99 30,000 business $399 200,000

Google

-- 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

Bing

-- Zoom levels: 0-23 -- Price/plan free < 50,000 cumulative transitions with any 24-hour period

MapBox

-- Zoom levels: 0-8 -- Price/plan free 50,000 views /month standard $49 100,000 premium $499 1,000,000

bpeng commented 8 years ago

Map performance comparison

Google map

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

Bing map

--Needs Leaflet plugin --Requires Leaflet-1.0 or over

https://hazmap-143a7.firebaseapp.com/quakes-map-bing.html

bpeng commented 8 years ago

Landcare: http://maps.scinfo.org.nz/

LINZ http://www.linz.govt.nz/data/linz-data-service/guides-and-documentation/using-lds-xyz-services-in-leaflet https://data.linz.govt.nz/set/2-nz-aerial-imagery/

https://data.linz.govt.nz/set/69-nz-parcel-boundaries-wireframe/webservices/

bpeng commented 8 years ago

Map layer with LINZ Imagery: http://rawgit.com/bpeng/hazmap/feature-baselayers/public/quakes-map-linz.html

bpeng commented 8 years ago
bpeng commented 7 years ago

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
bpeng commented 7 years ago

leaflet base map layers:

https://github.com/Leaflet/Leaflet/issues/593

bpeng commented 7 years ago

Leaflet layer refresh http://stackoverflow.com/questions/15440216/update-leaflet-geojson-layer-with-data-inside-bounding-box

https://github.com/Leaflet/Leaflet/issues/1324
bpeng commented 7 years ago

Tencent map http://lbs.qq.com/geo/guide.html

http://lbs.qq.com/android_v1/guide-project-setup.html#link-tow

bpeng commented 7 years ago

OpenLayers: https://github.com/openlayers/openlayers/blob/master/examples/synthetic-points.js

bpeng commented 7 years ago

Bing maps update: https://www.microsoft.com/maps/discon-control-migrat-guide.aspx

Leaflet plugin: https://github.com/shramov/leaflet-plugins

https://msdn.microsoft.com/en-us/library/ff701721.aspx

https://social.technet.microsoft.com/wiki/contents/articles/25698.how-to-insert-a-static-bing-map-in-your-siena-project.aspx

bpeng commented 6 years ago

WP maps

https://wordpress.org/plugins/wp-google-maps/