Repository navigation
Conversation
…vements & generic pin markers
|
Looks good so far -- couple comments here. #44 should get resolved soon; we have a map up under
|
Well... MKAnnoation is a protocol rather than a class, and it requires a KVO compliant setter for coordinate. For this pull request, I could have used an
Sounds reasonable. Patch? Or maybe a link to an example that you like?
Nope. It doesn't work like that. The Core api will give you an empty geoJSON file if the map doesn't have any markers. For example: https://a.tiles.mapbox.com/v3/justin.map-pgygbwdm/markers.geojson
Here's the existing logic in |
|
|
BTW feel free to make branches in this repo, then I can push to them. I've just pushed a copy of your |
|
I'm still a bit scared to mess with this repo too directly. My git/github skills are rapidly improving, but there's a lot I don't know. I did cherry-pick and push your commit though. Better? |
|
Sure. Branches don't hurt much, though, and you can always |
|
So is this ready to go, or do we still need to add/change something? |
|
I think we still need a marker-specifc cache clear that doesn't affect tiles. |
|
and that would be exposed in the header file? |
|
I'm working on this: |
|
👍 |
Some future point == today. Styles (from Mapbox Studio) can't have markers, as reflected by their TileJSON, so we need to pay attention to this before attempting to download any marker URLs, since we get a |
This adds simplestyle support for issue #9 by fetching simplestyle geoJSON, and for maps which have markers, adding the markers to the map using MKPinAnnotationView (i.e. generic pins).
Noteworthy things:
updateOverlayandupdateMarkers)