moagrius / TileView

TileView is a subclass of android.view.ViewGroup that asynchronously displays, pans and zooms tile-based images. Plugins are available for features like markers, hotspots, and path drawing.
MIT License
1.46k stars 337 forks source link

defineDetail not defined #490

Closed PiotrGryko closed 5 years ago

PiotrGryko commented 6 years ago

As a user, I miss the biggest improvement. I cant invoke defineDetails(). It doesn't seem to be defined in the repository

"As a user, the biggest things you'll notice are:

You no longer need redandant tile sets or detail levels. If your image doesn't change the details (e.g., show different images or labels at different zoom levels), you don't need to create tiles sets besides the original, full size one. The program will now use subsampling to do this work for you without any setup on your part: one call to defineDetail(anyObject) is sufficient."

ameron32 commented 6 years ago

Please, correct me if I'm wrong but in the demo and in my working project it appears that the method is named .defineZoomLevel(Object). Try using that instead of .defineDetail(anyObject) or .defineDetails()

moagrius commented 6 years ago

@ameron32's comment is correct.