Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8035291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T02:16:09+00:00 2026-06-05T02:16:09+00:00

I have a map view and a listview on the same screen. Half is

  • 0

I have a map view and a listview on the same screen. Half is map and the other half is listview. I have a list of locations(ie ,lats and lons). When I Start my activity it should load all the locations on the map and it should point to the first location in my list and others should not be visible.There is a button on each listview item. When I tap on any of the button on listview item, map should animate to that particular location. There is one more button at the top of the screen to see all the locations, when I tap on this button, it should show all the locations in the list, on the Map. The number of list item may vary. How can I do it

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T02:16:10+00:00Added an answer on June 5, 2026 at 2:16 am

    Try do the things,
    such as creating overlays on mapView on click of each item(button) of listView
    just use AnimateTo() to animate to the location converting location(lat,lng) to point using Point methods.You have to create overlay for each location(i.e. when item click) and add it to list of Overlays.

    But this approach will not work to display all locations on one click of button on to overlay you have been created on mapView.

    If you create overlay for each location and add it to list of overlays and try to display may be it works fine but the locations which are plotted first may be not visible properly(try to set transparency of overlay) instead you can make search for Google api which takes list of locations and plot them.

    Hope this explaination works for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

can i use fragments and map view in the same activity. I have seen
I have a map view and there are 10 store locations which data comes
I have two activities one displaying map view and another listview, the main objective
I have to call mapactivity from list activity.whenever user click on item on listview,
i have another (probably unanswered) question about map views. I have a map view
I have a map custom view that inherit from MKOverlayPathView. I need this custom
I have a single annotation on a map view. I can select it programmaticly,
I have a view that contains a google map accessible via this.map within the
I have a view containing a UIWebView which is loading a google map (so
I use AutoMapper to map my domain objects to my view models. I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.