Testing web map APIs – Google vs OpenLayers vs Leaflet
robinlovelace.net
robinlovelace.net
All these mapping libraries are great.
Google Maps comes with great data. Leaflet has a really nice API. OpenLayers 3 comes with loads of functionality built in.
Please check out our OpenLayers 3 examples at http://ol3js.org/en/master/examples/
Interesting ones include:
Full screen rotate and zoom: http://ol3js.org/en/master/examples/full-screen-drag-rotate-...
Animation: http://ol3js.org/en/master/examples/animation.html
60fps heatmaps: http://ol3js.org/en/master/examples/heatmap-earthquakes.html
High quality KML rendering: http://ol3js.org/en/master/examples/kml.html
Detailed geometries: http://ol3js.org/en/master/examples/igc.html
Canvas effects: http://ol3js.org/en/master/examples/layer-spy.html
Canvas, DOM and WebGL renders: http://ol3js.org/en/master/examples/side-by-side.html
Full application with OpenLayers 3, Angular and Bootstrap: http://map.geo.admin.ch/
One thing that I think is missing from this article is the communities around these projects and release cycles. Leaflet by far has the most active community around it. Where Open Layers 3 has been chugging along without a release for a while, and Google Maps API has remained pretty stagnant. A great post from Keir Clarke (http://googlemapsmania.blogspot.com/2014/01/the-slow-death-o...) that is spot on.
the parenthetical is incorrect, cf.
- http://wiki.openstreetmap.org/wiki/Google_Maps_Example#Examp...
- http://harrywood.co.uk/maps/examples/mapstractionv1/google-o...
The stock minified OpenLayers.mobile.js weighs in @ ~377kB: http://openlayers.org/dev/OpenLayers.mobile.js
And you can build your own OpenLayers files that contain only what you need: https://github.com/openlayers/openlayers/tree/master/build
(eg. is your mobile application really going to use OSM and Bing base layers? probably not, so don't ship all of that to the user's browser and spare the browser from parsing the cruft. https://github.com/openlayers/openlayers/blob/master/build/m... )
This article might have us reconsider OpenLayer!
is that due to some framework you're using?