Sometime ago after I finished my tutorials for Android offline map app I spent some time adding more features to the simple app, I guess I should share the code since many of those features are expected from any map application.
The post here won’t contain detailed explanation about how each feature is implemented since each feature might require it’s own post. Anyway if you’ve been reading my previous tutorials everything here should be straightforward and easy to understand, consider the source code provided here as some sort of raw data that someone might benefit from 🙂 .
This code is built upon the offline version of the app, so it doesn’t have web tiles support and the mapView cannot be created in xml (these can be changed easily by following the previous two tutorials).
The code isn’t perfect either, it does the job though 🙂 .
Here’s the features list:
- Points of interest (POI).
- GPS tracking service.
- Location sharing.
- Map selection at runtime.
- Changing tiles size at runtime.
- Importing\Exporting points and tracks.
- Source code.
The post will contain lots of images so please be cautious :).
Before I talk too much, here see the results for yourself, this is the web version : SpringLab Web Version.
Reminds you of World of Goo 😀 ?
I came across this tutorial, from which I learned this lovely vector equation:
F = -k(|x|-d)(x/|x|) - bv
I applied it to 2D springs and it gave amazing results especially when Read more…