Scrollview like foursquare with maps + list
Asked Answered
P

4

3

I'm trying to understand how can I achieve a scrollview like Foursquare app uses. The map y position follows the revenue list when scrolling.

screenshot

  • UIScrollview with the map + a list of revenues as UIViews or
  • UITableView using the map as HeaderSection and revenues as UITableViewCell (I tried that, but the map reloads after scrolling table) or
  • Separating Map from UITableview and syncing map position with table list?
Pluton answered 24/7, 2013 at 20:32 Comment(0)
I
3

This looks very interesting. Create Parallax effect between UITableView & UIMapView like FourSquare. I hope it will be useful ;)

https://github.com/stefanlage/SLParallaxController

Indefatigable answered 28/3, 2014 at 13:59 Comment(0)
R
0

My 2 cents: UITableView + MKMapView. Add observer on the tableView scroll view position and change map bounds accordingly when the observer fire.

Use contentInset in the tableView to reveal the map underneath. Use section headers for the "Happening near chinatown" with transparent background

etc..

Rakia answered 31/7, 2013 at 0:47 Comment(0)
S
-1

UIScrollview with MKMapView + UITableView.

Systemic answered 3/8, 2013 at 22:21 Comment(0)
L
-2

After a lot of digging, To achieve this effect, you use a function called setPadding();

Android maps - Markers Bounds at the center of top half of map area

Lookout answered 23/9, 2016 at 23:17 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.