tbicr / offlinemap Goto Github PK
View Code? Open in Web Editor NEWOffline Map solution in web browser
Offline Map solution in web browser
Hey, nice project !
I'm trying things out, but i'm wondering which of these methods will have the best performance for rendering the map ?
Thanks
Hello,
AWSOME project! Under which Licence is your project available?
Thanks!
Do you have build a tool to generate them based on which area and zoom level we want to be available offline ?
Hello, Great repo. If you are familiar with ionic, could you please share your thought on how to implement offline maps in ionic latest version? The offline should work across all platforms (web/mobile/native).
I am using react for ionic.
Can't find your email, that;s why mentioning this here.
Hello.
I've read your article on habr. I'm working on the same task - offline maps.
Actually I want to thank you for your investigation and want to share my approach how to deal with offline maps.
My solution is very similar to your, but I'm using OSM and http://leaflet.cloudmade.com/ js client library to draw map.
Leaflet was written by guy from Kiev and was used by foursquare :)
example:
var map = new L.Map('map');
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/YOUR-API-KEY/997/256/{z}/{x}/{y}.png',
cloudmadeAttribution = 'Map data © 2011 OpenStreetMap contributors, Imagery © 2011 CloudMade',
cloudmade = new L.TileLayer(cloudmadeUrl, {maxZoom: 18, attribution: cloudmadeAttribution});
map.addLayer(cloudmade);
I've just changed url to:
'mylocalfolder/{z}/{x}/{y}.png'
and it works pretty good.
Images I've download with command line tool.
Disadvantage is that OSM coordinates are not equal to googlemap. And google map has few more features - Clustering etc
Maybe I will try your solution because my data is in google map coordinates, google map api has clustering features and It's difficult to find OSM map in english language.
I'm doing console.log for the localStorage but it's empty.
Where does it store all the images and tiles?
I want to pass it between pc's
it will be a good idea if you update the js files with the latest openlayers and mapbox javascript api
because the their latest versions have lots of new functionalities especially for ol3
Leaflet changed their events for TileLayer and this no longer works. Is it possible for you to look at it again and see if you can update it to the new version of Leaflet?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.