Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/takuseno/geomap
GeoChart view library for Android
https://github.com/takuseno/geomap
Last synced: about 1 month ago
JSON representation
GeoChart view library for Android
- Host: GitHub
- URL: https://github.com/takuseno/geomap
- Owner: takuseno
- Created: 2015-07-19T12:50:59.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-12-24T22:12:09.000Z (about 4 years ago)
- Last Synced: 2024-10-23T04:06:30.837Z (2 months ago)
- Language: Java
- Homepage:
- Size: 590 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GeoMap
GeoMapView library for AndroidThis library uses [world.svg](https://github.com/takuseno/GeoMap/blob/master/geomap/src/main/res/raw/world.svg) under
[Creative Commons Attribution-NonCommercial 4.0 International License](http://creativecommons.org/licenses/by-nc/4.0/)##Usage
``` .java
GeoMapView geoMapView = (GeoMapView)findViewById(R.id.geoMap);
geoMapView.setOnInitializedListener(new OnInitializedListener() {
@Override
public void onInitialized(GeoMapView geoMapView) {
geoMapView.setCountryColor("US", "#00FF00");
geoMapView.setCountryColor("JP", "#FF0000");
geoMapView.refresh();
}
});
```##Screenshot