Skip to content

Commit 9f6a135

Browse files
authored
Merge pull request #112 from heremaps/fleetUrlFixes
MINOR: Fix Fleet Telematics API links
2 parents 022adac + 79d0ada commit 9f6a135

File tree

4 files changed

+19
-19
lines changed

4 files changed

+19
-19
lines changed

postcodes-jsla-fts/demo.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=yes">
55
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
6-
6+
77
<title>Map with postcodes from the Advanced Data Sets</title>
88
<link rel="stylesheet" type="text/css" href="https://js.api.here.com/v3/3.1/mapsjs-ui.css" />
99
<link rel="stylesheet" type="text/css" href="demo.css" />
@@ -22,18 +22,18 @@ <h1>Map with postcodes from the Advanced Data Sets</h1>
2222
<p>Display a map with the postcode boundaries overlay</p>
2323
</div>
2424
<p>
25-
This example displays a movable map initially centered on the <b>Brandenburg Gate</b> in
26-
the centre of Berlin <i>(52.5159°N, 13.3777°E)</i> with the postcodes overlay provided by the
27-
<a href="https://developer.here.com/documentation/platform-data/topics/what-is.html" target="_blank">Fleet Telematics Advanced Data Sets REST API</a>.
25+
This example displays a movable map initially centered on the <b>Brandenburg Gate</b> in
26+
the centre of Berlin <i>(52.5159°N, 13.3777°E)</i> with the postcodes overlay provided by the
27+
<a href="https://developer.here.com/documentation/fleet-telematics/dev_guide/index.html" target="_blank">Fleet Telematics Advanced Data Sets REST API</a>.
2828
It's possible to display additional information about the postcode area by clicking on the marker.
2929
</p>
3030
<div id="map"></div>
3131
<h3>Code</h3>
3232
<p>
33-
The example uses <code>H.service.extension.platformData.TileProvider</code> class to fetch data
34-
from the Fleet Telematics Advanced Data Sets service. Two providers are configured with the desired geometry
35-
types (<code>H.service.extension.platformData.TileProvider.ResultType.POLYLINE</code>
36-
for postcode borders and <code>H.service.extension.platformData.TileProvider.ResultType.MARKER</code> for postcode
33+
The example uses <code>H.service.extension.platformData.TileProvider</code> class to fetch data
34+
from the Fleet Telematics Advanced Data Sets service. Two providers are configured with the desired geometry
35+
types (<code>H.service.extension.platformData.TileProvider.ResultType.POLYLINE</code>
36+
for postcode borders and <code>H.service.extension.platformData.TileProvider.ResultType.MARKER</code> for postcode
3737
centroids). The result is displayed on the map as two additional layers using an instance of the <code>H.map.layer.TileLayer</code>
3838
and <code>H.map.layer.MarkerTileLayer</code> correspondingly.
3939
</p>

postcodes-jsla-fts/demo.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
* Shows the postcode layer provided by Platform Data Extension REST API
3-
* https://developer.here.com/platform-extensions/documentation/platform-data/topics/introduction.html
2+
* Shows the postcode layer provided by HERE Fleet Telematics API
3+
* https://developer.here.com/documentation/fleet-telematics/dev_guide/index.html
44
*
55
* @param {H.Map} map A HERE Map instance within the application
66
*/
@@ -80,4 +80,4 @@ bubble.close();
8080
ui.addBubble(bubble);
8181

8282
// Now use the map as required...
83-
showPostcodes(map, bubble);
83+
showPostcodes(map, bubble);

search-match-fts/demo.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=yes">
55
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
6-
6+
77
<title>Data Matching with the Advanced Data Sets</title>
88
<link rel="stylesheet" type="text/css" href="https://js.api.here.com/v3/3.1/mapsjs-ui.css" />
99
<link rel="stylesheet" type="text/css" href="demo.css" />
@@ -22,16 +22,16 @@ <h1>Data Matching with the Advanced Data Sets</h1>
2222
<p>Match routing result with the Advanced Data Set.</p>
2323
</div>
2424
<p>
25-
This example displays a movable map that contains the route polyline and the data about the location
26-
of electric vehicle charging stations provided by the <a href="https://developer.here.com/documentation/platform-data/topics/what-is.html" target="_blank">Fleet Telematics Advanced Data Sets REST API</a>.
25+
This example displays a movable map that contains the route polyline and the data about the location
26+
of electric vehicle charging stations provided by the <a href="https://developer.here.com/documentation/fleet-telematics/dev_guide/index.html" target="_blank">Fleet Telematics Advanced Data Sets REST API</a>.
2727
The search for the nearest charging stations is made by the polyline's bounding box. Stations that are adjacent to the route itself are marked with green.
2828
</p>
2929
<div id="map"></div>
3030
<h3>Code</h3>
3131
<p>
32-
The example uses <code>H.service.extension.platformData.SearchRequest</code>
33-
class to fetch data from the Platform Data Extension service. The <code>data</code> event listener matches the provided array of
34-
<code>LINK_IDs</code> from the routing service and search results from the Platform Data Extension layer
32+
The example uses <code>H.service.extension.platformData.SearchRequest</code>
33+
class to fetch data from the Platform Data Extension service. The <code>data</code> event listener matches the provided array of
34+
<code>LINK_IDs</code> from the routing service and search results from the Platform Data Extension layer
3535
to apply correct colour to the <code>H.map.Marker</code>.</p>
3636
<script type="text/javascript" src='demo.js'></script>
3737
</body>

search-match-fts/demo.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
/**
33
* Shows the search results from the electric vehicle charging stations layer
4-
* provided by Platform Data Extension REST API
5-
* https://developer.here.com/platform-extensions/documentation/platform-data/topics/introduction.html
4+
* provided by HERE Fleet Telematics API
5+
* https://developer.here.com/documentation/fleet-telematics/dev_guide/index.html
66
*
77
* @param {Array.<string>} linkids Array of the LINK_IDs received from the routing service
88
* @param {H.map.Polyline} polyline route polyline

0 commit comments

Comments
 (0)