GET /v2/locations/markers

bikewise.org

Summary: Unpaginated geojson response with simplestyled markers
Operation ID: GET--version-locations-markers---format-
Auth: none
Description

<p>This behaves exactly like the root <code>locations</code> endpoint, but returns <a href="https://github.com/mapbox/simplestyle-spec">simplestyled markers</a> (<a href="https://www.mapbox.com/guides/markers/#simple-style">mapbox styled markers</a>)</p> <p><strong>Go forth and make maps!</strong></p>

Parameters (8)

all (boolean, query, optional)

<p>Give ‘em all to me. Will ignore limit</p>

incident_type (string, query, optional)

<p>Only incidents of specific type</p>

Constraints: {'enum': ['crash', 'hazard', 'theft', 'unconfirmed', 'infrastructure_issue', 'chop_shop']}

limit (integer, query, optional)

<p>Max number of results to return. Defaults to 100</p>

occurred_after (integer, query, optional)

<p>Start of period</p>

occurred_before (integer, query, optional)

<p>End of period</p>

proximity (string, query, optional)

<p>Center of location for proximity search</p>

proximity_square (integer, query, optional, default: 100)

<p>Size of the proximity search</p>

query (string, query, optional)

<p>Full text search of incidents</p>

Examples (1)

TitleTypeURLAction
Get map markers in simplestyle GeoJSON format for San Francisco doc_extracted https://bikewise.org/api/v2/locations/markers?proximity=San+Francisco,CA&per_page=50

No probe data for this endpoint yet.