-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Hi! Thank you very much for the AnyMaps library. I am working on implementing it into my EVMap project (https://github.com/johan12345/EVMap).
In the process have done some improvements to AnyMaps in my fork, as seen in the list below.
Is this project still maintained? Would you be open to PRs for some or all of these changes?
If yes, how should we handle this - one small PR for each of the changes? In that case it may be necessary to have the PRs built on top of each other as not all changes are completely separable from each other. Or I can make one large PR with the features you would like to have.
Major changes
- Add a
MapFragmentclass (ev-map@830989e, ev-map@e172821), which handles lifecycle callbacks automatically and allows the user to directly set which map implementation should be used. This alleviates the need to import a specificMapViewandMapsConfigurationimplementation and can automatically select the best backend based on theanymap-...libraries that are available (e.g. if you have one Build flavor for Google Maps and one for OSM, you don't need any flavor-specific code to handle the creation of the map). - Add an implementation for Mapbox maps in the
anymaps-mapboxmodule (ev-map@61c95e6, ev-map@ebc4582) - Update dependencies (ev-map@1a3b385, ev-map@3d229c8, ev-map@5d14324) and make necessary code adjustments (Android build tools, Support Library, Google Maps, OSMDroid)
Minor changes (relevant for all AnyMaps backends)
- Add support for a dark map style ev-map@8892f63 (supported in Google Maps, OSM and Mapbox)
- Replace
OnCameraChangeListenerwithOnCameraIdleListener(ev-map@1e04d7a, ev-map@7dc99ec) for consistency with current Google Maps APIs - Implement
LatLngBounds.contains(ev-map@9f3041e) - Implement
Marker.setAnchorfor all backends (ev-map@75f7048)
Minor changes (OSM)
- add attribution (ev-map@2a2c032)
- Disable OSMDroid's zoom controller buttons (ev-map@8613bc3) for consistency with Google Maps, which does not have such buttons by default
Minor changes (Google Maps)
- Add support for some additional features (no-op in other backends):
- Hybrid and Terrain map types (ev-map@db3cfa6)
- Some UISettings functions (ev-map@7f6f30e)
- Add support for non-bitmap drawables as marker icons (ev-map@fa10f24)
- On the
mapsv3branch, I upgraded the Google Maps SDK vom V2 to the current V3.1 Beta version.
Metadata
Metadata
Assignees
Labels
No labels