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

  • SEARCH
  • Home
  • 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 4252110
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T04:45:05+00:00 2026-05-21T04:45:05+00:00

It seems that markers in an ItemizedOverlay are not shown in the map unless

  • 0

It seems that markers in an ItemizedOverlay are not shown in the map unless you call boundCenter() or boundCenterBottom() on the default marker.

Is this correct, and if so, why? Is it that a (0,0) point is not set at all by default, and thus Android has no idea how to place the markers?

Update:

I see that you also have Drawable.setBounds(), so I assume boundCenter() and boundCenterBottom() is calling this method. How is it decided which part of the Drawable is used as the pin point on the map?

  • 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-05-21T04:45:06+00:00Added an answer on May 21, 2026 at 4:45 am

    See this example of how to use the boundCenter()

    I believe for the boundCenter() call to work, your Drawable should have some intrinsic width and height. I’m guessing it works something like this:

    public static Drawable boundCenter(Drawable d)
    {
         d.setBounds(d.getIntrinsicWidth() /- 2, d.getIntrinsicHeight() / -2,
                     d.getIntrinsicWidth / 2, d.getIntrinsicHeight() / 2);
         return d;
    }
    

    This offsets the bounds from Top/Left, to Bottom/Center.

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

Sidebar

Related Questions

I see that there is a Markers Property on the MediaElement, but this seems
It seems that when a WPF application starts, nothing has focus. This is really
It seems that in a standard Xcode project, the default target automatically updates the
I have a bit of strange problem on this page: http://www.bluprintliving.com/locations it seems that
I currently have a Google map that geocodes multiple markers on the fly but
I've noticed on a client map that hovering over unclickable markers (with titles) no
I get this error when I call map.AddPopup() in OpenLayers: Unable to get value
My Google Map (v3) renders two types of markers: An area marker (Your home
I know this may sound silly but it seems that, my version of TortoiseSVN
I have a web application that needs to display 30,000 markers on a map

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.