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.

What is MultiPoint #3288

Closed
Closed

Description

@tmcw

Something seems off about this

https://github.com/mapbox/mapbox-gl-native/blob/master/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/MultiPoint.java

  • The docs refer to it as being a 'polyline'
  • There's a MultiPoint.java, but not a Point.java
  • Besides geometry, it also manages alpha, but just alpha.

What's up with this?

Activity

  1. added
    Android
    on Dec 14, 2015
  2. tmcw commented on Dec 14, 2015

    @tmcw
    ContributorAuthor

    Reading into this, yeah, it's a coordinate-container abstract class that's extended by Polygon and Polyline. That shouldn't be the case, it should be named something else and more obviously documented.

    Also maybe it should be protected?

  3. tobrun commented on Dec 18, 2015

    @tobrun
    Member

    @tmcw

    The docs refer to it as being a 'polyline'

    Can you show me what you which docs you are referring to?

    it's a coordinate-container abstract class that's extended by Polygon and Polyline.

    Where are you reading this?
    this is currently not part of the javadoc (I created #3338 to improve this).

    I must admit that I'm also not 💯 on current naming and inheritance.

    cc @bleege @zugaldia

  4. tobrun commented on Jan 19, 2016

    @tobrun
    Member

    @tmcw
    Current gameplan is to refactor annotations with the 4.0.0 release.

    I'm looking into the possibility to:

    • remove Multipoint & Annotation base classes (not that logical)
    • remove Icon and Iconfactory (obsolete, not needed)
    • streamline with requirements coming from geo standards
  5. zugaldia commented on Jan 25, 2016

    @zugaldia
    Member

    @tmcw After releasing the directions and geocoder libraries we've noticed that there's some work we need to do to streamline our geographic data structures. See for example the unnecessary conversion we need to do in this example from List<Waypoint> into LatLng[] (not to mention that Android has its own Location object).

    I want to put some effort into fixing this and I'd love your feedback. What would be in your opinion the best approach here? Would be using the GeoJSON standard as our objects building block the way to go?

  6. zugaldia commented on Jan 25, 2016

    @zugaldia
    Member

    Related: #3630

  7. added this to the android-v4.1.0 milestone on Mar 6, 2016
  8. modified the milestone: android-v4.1.0 on Mar 18, 2016
  9. 1ec5 commented on Jun 1, 2016

    @1ec5
    Contributor

    The iOS and OS X SDKs have a similar class naming issue, captured in #5201.

  10. added
    SEMVER-MAJOR
    on Jun 1, 2016
  11. tobrun commented on Jun 1, 2016

    @tobrun
    Member

    This change didn't land with 4.0.0, we need to look into with next semver-major release

  12. added this to the android-v4.2.0 milestone on Aug 16, 2016
  13. removed
    SEMVER-MAJOR
    on Aug 16, 2016
  14. removed this from the android-v4.2.0 milestone on Aug 16, 2016
  15. ivovandongen commented on Aug 16, 2016

    @ivovandongen
    Contributor

    Removed the current milestone as this requires breaking changes to the api

  16. added this to the android-v4.2.0 milestone on Aug 16, 2016
  17. modified the milestones: , android-v4.2.0 on Sep 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Android

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions