HTTP method | Service layer method | Real-time event |
---|---|---|
GET /features | features.find({}) | - |
GET /features?properties.type=building | features.find({ query: { properties.type: building } }) | - |
GET /features/id | features.get(id) | - |
POST /features | features.create(body) | features created |
PUT /features/id | features.update(id, body) | features updated |
PUT /features?properties.id=1 | features.update(null, body, { query: { properties.id: 1 } }) | features updated |
PATCH /features/id | features.patch(id, body) | features patched |
PATCH /features?properties.id=1 | features.patch(null, body, { query: { properties.id: 1 } }) | features patched |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Weacast ScalarField | Issue #8 with 1.3.3</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> | |
<link rel="stylesheet" href="//unpkg.com/[email protected]/dist/leaflet.css" /> | |
<link href="https://fonts.googleapis.com/css?family=Roboto:100,400" rel="stylesheet"> | |
<style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 8, | |
"name": "OSM Bright", | |
"metadata": { | |
"mapbox:type": "template", | |
"mapbox:groups": { | |
"1444849364238.8171": { | |
"collapsed": false, | |
"name": "Buildings" | |
}, |