Comments (2)
The sample app is updated. Now it uses OSM maps by default.
To switch between map types, you need to do the following:
- Change view type which you're using. There are
MapView
implementations for each map provider. Seeactivity_main.xml
. - Change
MapsConfiguration
to match the provider which you are using. For example, usecom.car2go.maps.osm.MapsConfiguration
for OSM andcom.car2go.maps.google.MapsConfiguration
for Google Maps. - The same way, change
CameraUpdateFactory
andBitmapDescriptorFactory
.
from anymaps.
能否动态设置使用哪个地图吗?
from anymaps.
Related Issues (18)
- Offline map using osm HOT 1
- Question concerning this project. HOT 1
- How to clear map? HOT 1
- AddCircle on OSM Map seems not work HOT 1
- Marker on OSM Maps seems at wrong place at low zoom HOT 1
- disabling zoom gestures on AnyMap HOT 1
- geofence HOT 1
- markers HOT 1
- Change maps types HOT 1
- how to remove pins from map
- how to set the title of Pin
- Zoom control HOT 2
- MapBox support HOT 1
- Various changes on my fork, which you might like to include?
- I got on error upon running the app HOT 2
- Adding map markers HOT 1
- BitmapDescriptorFactory not initialized HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anymaps.