anasrp08 / osmdroid

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

Tile Source classes (X/Y, QuadKey) should be public #163

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Since most tile sources are derivatives of X/Y or QuadKey tile sources, we 
should make those classes public so API users can define their own tile 
sources. These weren't public even in the old namespace, so maybe there was a 
reason. If someone thinks they shouldn't be make public, then speak now : )

Original issue reported on code.google.com by kurtzm...@gmail.com on 21 Feb 2011 at 2:16

GoogleCodeExporter commented 9 years ago
Also the constructor of these classes should be made public.
See attachment for updated XYTileSource.java

Original comment by alex.vanderlinden on 26 Feb 2011 at 8:44

Attachments:

GoogleCodeExporter commented 9 years ago
I created an example for the OpenStreetMapViewer project. See attachment. I 
suggest to add it.

This example can be used:
- for testing and
- as an example for other users

Original comment by alex.vanderlinden on 26 Feb 2011 at 10:27

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r828.

Original comment by kurtzm...@gmail.com on 26 Feb 2011 at 10:28

GoogleCodeExporter commented 9 years ago
Thank you Alex! I'll add the sample today - it's something we've really needed 
for a while now.

Original comment by kurtzm...@gmail.com on 26 Feb 2011 at 10:32