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 marker geoJSON to the sample map (for #38) #44

Closed

Description

Breaking out the marker geoJSON thing from #38 (comment)...

The simplestyle Maki marker stuff that's part of #38 is currently pointing at a sample map on my Mapbox account because Justin's sample map didn't include any markers at the time I was working on that feature. The fix is to add some markers to the sample map and change the map ID (see https://github.com/wsnook/mbxmapkit/blob/dev-0.1.1/Sample%20Project/MBXMapKit-iOS/MBXViewController.m#L85 )

Here's a copy of the geoJSON from my map:

{"features":[{"geometry":{"coordinates":[-77.06801354885101,38.88279856154733],"type":"Point"},"properties":{"description":"medium, cemetery, #3ca0d3","id":"marker-hqe4si7d1","marker-color":"#3ca0d3","marker-size":"medium","marker-symbol":"cemetery","title":"Arlington National Cemetery"},"type":"Feature"},{"geometry":{"coordinates":[-77.03511625528336,38.889444088524236],"type":"Point"},"properties":{"description":"large, monument, #f86767","id":"marker-hqe4w1mc2","marker-color":"#f86767","marker-size":"large","marker-symbol":"monument","title":"Washington Monument"},"type":"Feature"},{"geometry":{"coordinates":[-77.07225948572159,38.90761328831593],"type":"Point"},"properties":{"description":"small, college, #1087bf","id":"marker-hqe53v134","marker-color":"#1087bf","marker-size":"small","marker-symbol":"college","title":"GWU"},"type":"Feature"},{"geometry":{"coordinates":[[[-77.05782651901245,38.92896825930916],[-77.04956531524658,38.934176119230564],[-77.04244136810303,38.9251455803344],[-77.05782651901245,38.92896825930916]]],"type":"Polygon"},"properties":{"description":"It's a zoo.","fill":"#1087bf","fill-opacity":0.2,"id":"marker-hqewb1jl0","stroke":"#1087bf","stroke-opacity":1,"stroke-width":4,"title":"National Zoo"},"type":"Feature"}],"id":"wsnook.h0bg05jd","type":"FeatureCollection"}

That includes some markers in Washington DC plus a polygon to prove that the parser doesn't misbehave for things which are not points.

Activity

  1. added this to the 0.2.0 milestone on Feb 19, 2014
  2. incanus commented on Feb 21, 2014

    @incanus
    Contributor

    On second thought, I'll make a new map on examples for this since:

    1. We have a particular color scheme going on here that the above referenced map does not.
    2. This should no longer be on my personal account.
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