Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Suggestions for map's CoordinateBounds #3794

Closed

Description

@mudar

With the android library, we currently have MapView.setVisibleCoordinateBounds(), but that's a bit limited. I suggest

  • adding a MapView.getVisibleCoordinateBounds() method.
  • adding a Annotation.isVisible() or Annotation.isInsideVisibleCoordinateBounds(). This could be a duplicate of other tickets though..

Activity

  1. changed the title [-]Suggestions for map[/-] [+]Suggestions for map's CoordinateBounds[/+] on Feb 2, 2016
  2. added
    Android
    on Feb 2, 2016
  3. tobrun commented on Feb 2, 2016

    @tobrun
    Member

    @mudar,
    Thank you for reaching out and requesting these features.

    Before getting in to the details, everything what used to be called VisibleCoordinateBounds will be replaced with LatLngBounds from the 4.0.0 release on. This was needed to have better parity with the Google Maps SDK for Android. Related issue is here

    adding a MapView.getVisibleCoordinateBounds() method.

    This will not be exposed through a getLatLngBounds() but through the Projection class from #3758. We will expose this in same manner as Google Maps as seen here.

    Annotation.isVisible() or Annotation.isInsideVisibleCoordinateBounds()

    There is a method called including(ILatLng latLng) from LatLngBounds, With this method you can determine if a certain LatLng is inside a certain bounds. This could be useable for annotation (target) as well.

    Let me know what you think,
    Thanks again for reaching out.
    This is valuable feedback!

  4. mudar commented on Feb 2, 2016

    @mudar
    Author

    That sounds great! Closing this issue and adding a small comment to #3754

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Android

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions