You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 25, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 25, 2023. It is now read-only.
It seems to me that we should finalize the simplestyle issue here, then build Maki #5 atop it since that's the full realization of simplestyle.
You've got some commits in for both @wsnook, but let's break it down and discuss each in turn.
This ticket is for simplestyle, which is looking for and fetching the actual JSON code, parsing it, and adding points (and now other features) to the map view.
Re: other features, I will leave this up to you @wsnook as to whether you want to rebuild to support that now, but a simple iterative way to approach this would be just doing points & ignoring everything else, then building other features later. When you originally tackled this, we didn't have the new features, so I realize my delay here is somewhat making more work for you.
Said another way, I approached this problem as:
Step 1: Implement the ability to fetch an arbitrary marker from the Core API
Step 2: Use the ability to fetch markers to implement simplestyle parsing and rendering
Well, I would do it like this:
Step 1: Implement the ability to fetch simplestyle, parse its points, and add them as MKPointAnnotation, to start
Step 2: Add Maki compatibility in #5
Step 3: Change over simplestyle markers to Maki/Mapbox markers
That is, just iterate so that you have something working in master each step of the way, working on one ticket/feature at a time, and just iterate towards release.
I agree with the goal of Mapbox.js parity, but it doesn't have to happen all at once and close both tickets together just because they work together.
I was leaving #3 MBTiles for last since it's the most complex of these changes, it requires the most testing across both platforms, it introduces the idea of ifdef'd code due to the linking complications, and if necessary, could be left off of the release if it proves too complex as it is a "very nice to have" but not as core to our API as all the rest.
I think simplestyle should come first, so we can nail our new take on networking code, retries, error handling, etc. Can you easily git cherry-pick from your combo branch maybe?
It just seems to me that simplestyle < markers < MBTiles in complexity.
Activity
incanus commentedon Oct 30, 2013
Assigned to Tender discussion #1681.
incanus commentedon Feb 24, 2014
It seems to me that we should finalize the simplestyle issue here, then build Maki #5 atop it since that's the full realization of simplestyle.
You've got some commits in for both @wsnook, but let's break it down and discuss each in turn.
This ticket is for simplestyle, which is looking for and fetching the actual JSON code, parsing it, and adding points (and now other features) to the map view.
Re: other features, I will leave this up to you @wsnook as to whether you want to rebuild to support that now, but a simple iterative way to approach this would be just doing points & ignoring everything else, then building other features later. When you originally tackled this, we didn't have the new features, so I realize my delay here is somewhat making more work for you.
I think this ticket is handled, though, for points at least, with this commit: https://github.com/wsnook/mbxmapkit/commit/10572882a53d3675eb6c745f4d9c16a839610979
So I see next steps as:
incanus commentedon Feb 24, 2014
Thoughts/questions on this @wsnook:
#ifdef'd out in e.g. https://github.com/wsnook/mbxmapkit/commit/10572882a53d3675eb6c745f4d9c16a839610979#diff-c7e990193d1cef6fdf1ba48797d1c567R16? It seems that both with simplestyle here and Maki in add MapBox marker support #5 we will want this in the code in all cases. Unlike MBTiles, it doesn't affect linking requirements or anything heavier like that. I think having these conditionals increases code and debugging complexity longer-term.MarkerSizeTypeor the marker size, color, or symbol properties. They aren't used elsewhere.https://github.com/wsnook/mbxmapkit/commit/10572882a53d3675eb6c745f4d9c16a839610979#diff-20e56c45611a7b11e32186213c5bd92fR70 we should spell out the
enumvalues used both for namespacing issues and for clarity. See e.g.mbxmapkit/MBXMapKit.h
Lines 13 to 22 in a6b37f6
incanus commentedon Feb 25, 2014
Well, I would do it like this:
Step 1: Implement the ability to fetch simplestyle, parse its points, and add them as
MKPointAnnotation, to startStep 2: Add Maki compatibility in #5
Step 3: Change over simplestyle markers to Maki/Mapbox markers
tmcw commentedon Feb 25, 2014
The REST API does already http://api.tiles.mapbox.com/v3/marker/[email protected]
incanus commentedon Feb 25, 2014
That is, just iterate so that you have something working in
mastereach step of the way, working on one ticket/feature at a time, and just iterate towards release.I agree with the goal of Mapbox.js parity, but it doesn't have to happen all at once and close both tickets together just because they work together.
Hope that clarifies.
incanus commentedon Feb 25, 2014
Re: retina, see e.g.
mbxmapkit/MBXMapKit.m
Line 167 in 4b7ee29
[[UIScreen mainScreen] scale] > 1.0, which is how we do it in the SDK.incanus commentedon Feb 25, 2014
I was leaving #3 MBTiles for last since it's the most complex of these changes, it requires the most testing across both platforms, it introduces the idea of
ifdef'd code due to the linking complications, and if necessary, could be left off of the release if it proves too complex as it is a "very nice to have" but not as core to our API as all the rest.incanus commentedon Feb 25, 2014
I think simplestyle should come first, so we can nail our new take on networking code, retries, error handling, etc. Can you easily
git cherry-pickfrom your combo branch maybe?It just seems to me that simplestyle
<markers<MBTiles in complexity.incanus commentedon Feb 25, 2014
Let's do non-point features later, too.
incanus commentedon Feb 25, 2014
I'll give #44 a bump -- I don't have permission. We can use the Weekend Picks map referenced above for now.
incanus commentedon Feb 27, 2014
Done with points per #50, closing in favor of future work on #53.