mozilla / osmdroid Goto Github PK
View Code? Open in Web Editor NEWfork of osmdroid
License: Apache License 2.0
fork of osmdroid
License: Apache License 2.0
osmdroid/src/main/java/org/osmdroid/tileprovider/util/CloudmadeUtil.java
Lines 101 to 104 in 1ca3851
Double-Checked Locking is widely cited and used as an efficient method for implementing lazy initialization in a multithreaded environment.
Unfortunately, it will not work reliably in a platform independent way when implemented in Java, without additional synchronization.
As of January 1 2019, Mozilla requires that all GitHub projects include this CODE_OF_CONDUCT.md file in the project root. The file has two parts:
If you have any questions about this file, or Code of Conduct policies and procedures, please see Mozilla-GitHub-Standards or email [email protected].
(Message COC001)
Copied from: mozilla/MozStumbler#818
This is killing the performance of the map view:
https://code.google.com/p/osmdroid/source/browse/trunk/osmdroid-android/src/main/java/org/osmdroid/tileprovider/constants/OpenStreetMapTileProviderConstants.java#48
For Mozilla builds, which use the MapBox commercial service, we should load like a web browser and use 6-8 simultaneous requests.
There's a proper LRU disk cache over here:
http://mvnrepository.com/artifact/com.jakewharton/disklrucache/2.0.2
We should integrate that into the org.osmdroid.tileprovider.modules.TileWriter
class as the existing code is expiring simply based on LastModified file time.
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.