6.0.2 IMapController lacks API, MapController offers
See original GitHub issueIssue Type
[ X] Question [ X] Improvement
Description and/or steps/code to reproduce the problem
This is a minor quirks.
Trying to investigate #1040 I realize, that there is a new 6.0.2 method for simultaneously changing position and zoom. I wanted to use this, but then realize I programmed against IMapController
and not MapController
and the abstract interface lacks the new feature.
Version of osmdroid the issue relates to:
6.0.2-SNAPSHOT
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
IMapController
An interface that resembles the Google Maps API MapController class and is implemented by the osmdroid MapController class. Method Summary. All Methods Instance ......
Read more >Attempt to invoke interface method 'void org.osmdroid.api ...
1 Answer 1 ... Your order of initialization is wrong. mapController isn't initialized yet. mapController gets initialized in setupOverlay() :
Read more >Index (osmdroid-android 6.0.1 API) - Javadoc.io
Returns a set of layout parameters with a width of ViewGroup.LayoutParams.WRAP_CONTENT , a height of ViewGroup.LayoutParams.WRAP_CONTENT at the GeoPoint (0, 0) ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
i think the interface exists because at one point, someone wanted to have a single api that can be used with both google maps v1 and with osmdroid. I think the usage of the google maps version is probably minimal to the point where it can be deprecated. The iMapController interface should be maintained though. I know of a few users that have custom implementations.
@InI4 the only method i could see that was missing in the interface was this one
is that what this issue is referring to?