I'm new in android and have some questions. The idea is to simulate a book page with some images and text on it and animations that zoom on a column and after clicking a button zooms on a different part of page and so on. I have seen some good libraries for imageView pinch zoom and pan like PhotoView and Subsampling image scale by davemorrissey. I want pinch zoom and pan functionality on entire constraintLayout and all its child views including textViews not just an imageView. I also have seen zoomLayout library but apparently it have some problem with constraintLayout as a child.
Is there any solution to use the lovely subsampling library for this purpose? if no, where i have to look? any suggestion will be appreciated.
thanks
After searching a bit, I found this library called "GestureViews" by alexvasilkov. it supports constraintLayout and animations!
https://github.com/alexvasilkov/GestureViews
Related
Leaflet framework seems like perfect solution, however it is using tiles to zoom. I want to source a single file and have it fit to window and zoom based on image being much larger than container.
I cannot find anywhere to disable tile feature. If I did would it break zoom functionality?
Welcome to SO!
Sounds like you overlooked Leaflet Image Overlay.
There is also a tutorial, although you may not need the CRS.Simple part.
I'm new in programming. How I can add small images scrolling and then when you click on one of them, it will be displayed on the main picture, with the ability to move and zoom in / out size? Like this
Advise some lessons, examples, tutorials or books please.
see this bellow examples and tutorial..
HSImageSidebarView
iCarousel /// in this tutorial and demos many type of animations and style available for image slide show
how-to-use-uiscrollview-to-scroll-and-zoom-content
Three20 scrollview
ScrollingMadness
i hope this help you..
I want to make my webview to be pinched/zoomed vertically only. By zooming the webview I want to make it zommed vertically only but not horizontally.
Does it possible?
UIWebView also has UIScrollView as its subclass.
So refer how-to-lock-the-horizontal-scrolling-of-a-scrollview-in-ios link.
With a quick search, I found others that have blazed the trail before you:
Custom Pinch Zoom
The short answer is No, you can't realistically make an entirely custom pinch zoom like you would like. But, you can easily get the end behavior that you are looking for by manually rescaling your content after the automated pinch zoom has been released. It's not as pretty, but if your determined to have a vertical zoom, it might be the best option.
I trying to figure out how to create a Custom Map like the following:
http://itunes.apple.com/us/app/mall-book-california/id342584415?mt=8
http://www.macworld.com/appguide/app.html?id=541350&expand=false
I just don't know where to start from, do I use UIWebView or MapKit?
Any help will be appreciated.
Thanks
What we did in our app is use a UIImageView on a UIScrollView. You need to take a screenshot of the object you will map on the google-map and precisely draw your overlay over it. Also you need to take the top left coordinate and bottom right coordinate of the screenshot you took from the map. Then put the overlay image inside an imageview, image view on scrollview, and scale your coordinate system on the scrollview with the coordinates you took from the map. Now you can precisely plot POI-s on your overlay. A note: The first thing we did is we overlaid the g-map with custom image view but it was really slow when scrolled, so don't even try it. Good luck with coding.
[EDIT] you take a large screenshot of an area on google map like this
http://www.metacafe.com/watch/1073912/google_maps_hack_how_to_save_large_maps/
I am working on a little project and want to implement some sort of "google maps" zooming. What I mean with that is that I want to show an image, and let the user be able to zoom in into a bit of the picture.
The first image should show an overall view of an airport, with its terminals and gates ect. But when zooming in on a terminal it should show more details on where bus stops, taxi stops, info, café's ect are located. It should NOT be a map.
I have searched Google a bit, but couldn't really find anything. Anyone who has any suggestions? Preferable links to tutorials for similar things?
Best regards,
Paul Peelen
The standard way to implement this is by using a UIScrollView and within the UIScrollView add a custom UIView with CATiledLayer layers. You will render the image by drawing (setting content) to the inner CATiledLayer layers. Look at the PhotoScroller sample project.