final tidy

This commit is contained in:
Dave Conway-Jones 2019-02-17 09:40:26 +00:00
parent d20019260e
commit 792502939d
No known key found for this signature in database
GPG Key ID: 9E7F9C73F5168CD4
2 changed files with 3 additions and 3 deletions

View File

@ -243,10 +243,10 @@ The **worldmap in** node can be used to receive various events from the map. Exa
{ "action": "click", "name":"Jason", "layer":"gps", "icon":"male", "iconColor":"blue", "lat":51.024985, "lon":-1.39698 } // when a marker is clicked { "action": "click", "name":"Jason", "layer":"gps", "icon":"male", "iconColor":"blue", "lat":51.024985, "lon":-1.39698 } // when a marker is clicked
{ "action": "move", "name":"Jason", "layer":"gps", "icon":"male", "iconColor":"blue", "lat":51.044632, "lon":-1.359901 } // when a marker is moved { "action": "move", "name":"Jason", "layer":"gps", "icon":"male", "iconColor":"blue", "lat":51.044632, "lon":-1.359901 } // when a marker is moved
{ "action": "delete", "name": "Jason" } // when a point or shape is deleted
{ "action": "point", "lat": "50.60634", "lon": "-1.66580", "point": "joe,male,mylayer" } { "action": "point", "lat": "50.60634", "lon": "-1.66580", "point": "Jason,male,gps" }
{ "action": "draw", "type": "rectangle", "points": [ { "lat": 50.61243889044519, "lng": -1.5913009643554688 }, { "lat": 50.66665471366635, "lng": -1.5913009643554688 }, { "lat": 50.66665471366635, "lng": -1.4742279052734375 }, { "lat": 50.61243889044519, "lng": -1.4742279052734375 } ] } { "action": "draw", "type": "rectangle", "points": [ { "lat": 50.61243889044519, "lng": -1.5913009643554688 }, { "lat": 50.66665471366635, "lng": -1.5913009643554688 }, { "lat": 50.66665471366635, "lng": -1.4742279052734375 }, { "lat": 50.61243889044519, "lng": -1.4742279052734375 } ] }
{ "action": "delete", "name": "joe" } // when a point or shape is deleted
{ "action": "layer", "name": "myLayer" } // when a map layer is changed { "action": "layer", "name": "myLayer" } // when a map layer is changed
{ "action": "addlayer", "name": "myLayer" } // when a new map layer is added { "action": "addlayer", "name": "myLayer" } // when a new map layer is added

View File

@ -197,9 +197,9 @@ then by default <code>⌘⇧m</code> - <code>ctrl-shift-m</code> will load the m
<li><b>disconnect</b> - when a client disconnects <li><b>disconnect</b> - when a client disconnects
<li><b>click</b> - when a marker is clicked</li> <li><b>click</b> - when a marker is clicked</li>
<li><b>move</b> - when a marker is dragged/moved</li> <li><b>move</b> - when a marker is dragged/moved</li>
<li><b>delete</b> - when a point or shape is deleted</li>
<li><b>point</b> - when a point is added manually using right-click</li> <li><b>point</b> - when a point is added manually using right-click</li>
<li><b>draw</b> - when a shape is added manually to the drawing layer</li> <li><b>draw</b> - when a shape is added manually to the drawing layer</li>
<li><b>delete</b> - when a point or shape is deleted</li>
<li><b>layer</b> - when a base layer is changed</li> <li><b>layer</b> - when a base layer is changed</li>
<li><b>addlayer</b> - when an overlay is added to the map</li> <li><b>addlayer</b> - when an overlay is added to the map</li>
<li><b>dellayer</b> - when an overlay is removed from the map</li> <li><b>dellayer</b> - when an overlay is removed from the map</li>