Skip to content

Commit 9c0eeac

Browse files
author
Alejandro Rodriguez
committed
Improve documentation and bump version
1 parent 70803d2 commit 9c0eeac

File tree

4 files changed

+14
-22
lines changed

4 files changed

+14
-22
lines changed

src/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version='1.0' encoding='UTF-8'?>
2-
<operator xmlns="http://wirecloud.conwet.fi.upm.es/ns/macdescription/1" vendor="CoNWeT" name="ngsi-datamodel2poi" version="3.0.4">
2+
<operator xmlns="http://wirecloud.conwet.fi.upm.es/ns/macdescription/1" vendor="CoNWeT" name="ngsi-datamodel2poi" version="3.0.5">
33
<details>
44
<title>FIWARE data model To PoI</title>
55
<homepage>https://github.com/wirecloud-fiware/ngsi-datamodel2poi-operator</homepage>

src/doc/changelog.md

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
1-
3.0.4
2-
=====
1+
## v3.0.5 (2017-09-29)
2+
3+
* Improved Vehicle model: Use a different icon depending on the vehicle.
4+
* Improve BikeHireDockingStation data popup.
5+
* Improve BikeHireDockingStation data popup.
6+
* Improved documentation.
7+
8+
## v3.0.4 (2017-09-28)
9+
10+
Initial version
311

412
* Added support for the following FiWare data models:
513
- WaterQualityObserved.
@@ -20,19 +28,3 @@
2028
* Fixed units not displaying correctly.
2129
* Added date interval support.
2230
* Improved documentation.
23-
24-
3.0.3
25-
=====
26-
27-
* Initial documentation of the operator.
28-
* Support for custom marker icons (added a new setting for this purpose).
29-
30-
3.0
31-
===
32-
33-
* Added support for entities using two attributes for the coordinates instead of the usual pattern of using one attribute for storing both the latitude and longitude.
34-
35-
2.99
36-
====
37-
38-
Initial version

src/doc/userguide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ This operator has no settings.
2323

2424
## Usage
2525

26-
In order to use this operator, plug a source of NGSI entities to the operator input, and connect the output to a map viewer widget (like the )
26+
In order to use this operator, plug a source of NGSI entities (like the [ngsi-source-operator](https://github.com/wirecloud-fiware/ngsi-source-operator)) to the operator input, and connect the output to a map viewer widget (like the [ol3-map-widget](https://github.com/Wirecloud/ol3-map-widget)).

src/js/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@
345345
infoWindow += '<p><b><i class="fa fa-fw fa-clock-o"/> Date: </b> ' + date + "</p>";
346346

347347
if (entity.availableSpotNumber != null && entity.totalSpotNumber != null) {
348-
infoWindow += '<p><i class="fa fa-fw fa-info"/> ' + entity.availableSpotNumber + ' available parking spots of ' + entity.totalSpotNumber + '</p>';
348+
infoWindow += '<p><i class="fa fa-fw fa-info"/> ' + entity.availableSpotNumber + ' available parking spots out of ' + entity.totalSpotNumber + '</p>';
349349
} else if (entity.availableSpotNumber) {
350350
infoWindow += '<p><i class="fa fa-fw fa-info"/> ' + entity.availableSpotNumber + ' available parking spots</p>';
351351
}
@@ -425,7 +425,7 @@
425425
infoWindow += '<p><b><i class="fa fa-fw fa-clock-o"/> Date: </b> ' + date + "</p>";
426426

427427
if (entity.availableSpotNumber != null && entity.totalSpotNumber != null) {
428-
infoWindow += '<p><i class="fa fa-fw fa-info"/> ' + entity.availableSpotNumber + ' available parking spots of ' + entity.totalSpotNumber + '</p>';
428+
infoWindow += '<p><i class="fa fa-fw fa-info"/> ' + entity.availableSpotNumber + ' available parking spots out of ' + entity.totalSpotNumber + '</p>';
429429
} else if (entity.availableSpotNumber) {
430430
infoWindow += '<p><i class="fa fa-fw fa-info"/> ' + entity.availableSpotNumber + ' available parking spots</p>';
431431
}

0 commit comments

Comments
 (0)