hanchao / maplite Goto Github PK
View Code? Open in Web Editor NEWAndroid Tile Map, fork from osmdroid
Android Tile Map, fork from osmdroid
Hi,
As you mention the map support Amap or soso tile source, is that support the tile system of Amap?
Or just using source on EPSG:4326 system of Amap?
Where I can find documentation about how to use MapLite?
How is speed compared to osmdroid and mapsforge?
Can be used together osmbonuspack - https://code.google.com/p/osmbonuspack/ , or does it provide same features?
看源码天地图图层的调用是通过CompositeTileSource这个实现的:
···
public static final OnlineTileSourceBase TIANDITU_VEC = new TiandituTileSource("tianditu_vec",...)
public static final OnlineTileSourceBase TIANDITU_CVA = new TiandituTileSource("tianditu_cva",...)
public static final CompositeTileSource TIANDITU_VECTOR = new CompositeTileSource("tianditu_vector", ... TIANDITU_VEC,TIANDITU_CVA);
mTileSources.add(TIANDITU_VECTOR);
···
在使用中我又将TIANDITU_VEC
添加到了TileSourceFactory里面:
mTileSources.add(TIANDITU_VEC);
然后在使用过程中从TIANDITU_VEC
和TIANDITU_VECTOR
之间切换的时候会发现MapView并没有更新,应该是本地缓存的问题吧。
It seems that the GeoPoint
passed to the method
mapview.getController().setCenter()
can not be a integer
.
For example, the following code works:
mapview.getController().setCenter(new GeoPoint(30.1, 120.1));
but this does not:
mapview.getController().setCenter(new GeoPoint(30, 120));
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.