PATRIK27 / osmdroid

Automatically exported from code.google.com/p/osmdroid
0 stars 0 forks source link

Unreasonable API change in LocationOverlay #179

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Change from 3.0.2 to the trunk version of osmdroid in an existing project

What is the expected output? What do you see instead?
I expect that the project still compiles. Instead, I see errors.

What version of the product are you using? On what operating system?
Trunk on Android 1.5.

Please provide any additional information below.
replacing followLocation(boolean) with enableFollowLocation() and 
disableFollowLocation() without adding
public void followLocation(boolean follow) {
  if(follow) enableFollowLocation(); else disableFollowLocation();
}
is just rude. You can indicate in the javadoc comment that the API is 
deprecated, you can discourage its use, but providing no backward compatibility 
when it costs so little is unacceptable.

Original issue reported on code.google.com by nagydani...@gtempaccount.com on 9 Mar 2011 at 2:34

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r868.

Original comment by neilboyd on 10 Mar 2011 at 8:21