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

add managed overlay class #4

Closed
Closed

Description

@incanus

We should create an MBXOverlay that abstracts out everything except the mapID required for easy MapBox overlay management. This can use the built-in proxying delegate tile renderer just like the base map does (which is itself an overlay). Then, use would be something simple like this:

[mapView addOverlay:[[MBXOverlay alloc] initWithMapID:@"justin.favespots"]];

Activity

  1. radven commented on Oct 4, 2013

    @radven

    This is a fabulous idea.

  2. incanus commented on Oct 16, 2013

    @incanus
    ContributorAuthor

    I'm pushing on this a bit for two reasons (though definitely keeping it around; just trying to explain my rationale):

    • Network retry code when dealing with mapID's (in order to actually fetch TileJSON) gets nasty fast. I want to think about this properly, and we're already doing some for the main map overlay as it exists.
    • I'm going to assume that the general use case of this library is more entry-level/low time investment or else the full iOS SDK would likely be used. As such, getting into an assortment of overlay functionality is relatively low priority.
  3. incanus commented on Feb 18, 2014

    @incanus
    ContributorAuthor

    Let's still keep this relatively low priority until we clean up behaviors around general library use and the baselayer (i.e. the overlay that can replace Apple's maps).

  4. added this to the 0.3.0 milestone on Feb 26, 2014
  5. incanus commented on Mar 5, 2014

    @incanus
    ContributorAuthor

    Yeah, all bets are off if we're refactoring the way the basic overlay works.

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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions