Skip to content

Commit b1a78b4

Browse files
committed
Added target blank to all links
1 parent c751712 commit b1a78b4

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

display-kml-on-map/demo.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<script type="text/javascript" src="https://js.api.here.com/v3/3.1/mapsjs-data.js"></script>
1414
<link rel="stylesheet" type="text/css" href="../template.css" />
1515
<link rel="stylesheet" type="text/css" href="demo.css" />
16-
<script type="text/javascript" src='../test-credentials.js'></script>
16+
<script type="text/javascript" src='../test-credentials.js'></script>
1717
<style type="text/css">
1818
.log {
1919
position: absolute;
@@ -39,10 +39,10 @@
3939
</head>
4040
<body>
4141
<h1>Display KML Data</h1>
42-
<p>This example shows a map of the <b>United States</b> from the <a href="https://www.census.gov">U.S. Census Bureau</a>, highlighting the borders of each state.
42+
<p>This example shows a map of the <b>United States</b> from the <a href="https://www.census.gov" target="_blank">U.S. Census Bureau</a>, highlighting the borders of each state.
4343
The data to display on the map has been read in from a KML file and loaded using the built-in KML parser.</p>
4444
<p>The name of the state is logged when the user taps on the state's shape</p>
4545
<div id="map"></div>
4646
<script type="text/javascript" src='demo.js'></script>
4747
</body>
48-
</html>
48+
</html>

interactive-basemap/demo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ <h3>Code</h3>
2727
<p>The code below adds a <codeph>change</codeph> event listener to the instance of the <code>H.map.render.webgl.Style</code> associated with the
2828
layer's provider. Within this listener data layers 'places' and 'places.populated-places' are set as interactive and the
2929
<code>tap</code> event listener is assigned to display the information in the info bubble. Please refer to the
30-
<a href="https://www.here.com/docs/bundle/maps-api-for-javascript-api-reference/page/H.map.render.webgl.Style.html#setInteractive">setInteractive</a>
30+
<a href="https://www.here.com/docs/bundle/maps-api-for-javascript-api-reference/page/H.map.render.webgl.Style.html#setInteractive" target="_blank">setInteractive</a>
3131
method description for more information.
3232
</p>
3333
<script type="text/javascript" src='demo.js'></script>

map-multi-language-support/demo.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ <h3>Code</h3>
2626
Alternate languages can be requested by adding the <code>lg</code> parameter to the tile requests.
2727
That is done by calling createTileLayer method. 5th argument is list of key/value parameters which are
2828
passed to the map tile service when requesting each tile.
29-
A list of all supported map languages can be found in the API References of the underlying service used: <a href="https://www.here.com/docs/bundle/map-tile-developer-guide/page/topics/resource-base-maptile.html">HERE Map Tile API</a>
30-
and <a href="https://www.here.com/docs/bundle/vector-tile-api-developer-guide/page/topics/languages.html">HERE Vector Tile API</a> </p>
29+
A list of all supported map languages can be found in the API References of the underlying service used: <a href="https://www.here.com/docs/bundle/map-tile-developer-guide/page/topics/resource-base-maptile.html" target="_blank">HERE Map Tile API</a>
30+
and <a href="https://www.here.com/docs/bundle/vector-tile-api-developer-guide/page/topics/languages.html" target="_blank">HERE Vector Tile API</a> </p>
3131
<p>It is possible to specify map language for all layers at once when using <code>H.service.Platform.createDefaultLayers</code> method.</p>
3232
<p>Language of the UI controls can be specified when calling <code>H.ui.UI.createDefault</code> method.
3333
3rd argument is either a supported language code or a custom <code>H.ui.i18n.Localization object</code>.</p>

open-infobubble/demo.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ function addInfoBubble(map) {
3434
}, false);
3535

3636
addMarkerToGroup(group, {lat: 53.439, lng: -2.221},
37-
'<div><a href="https://www.mcfc.co.uk">Manchester City</a></div>' +
37+
'<div><a href="https://www.mcfc.co.uk" target="_blank">Manchester City</a></div>' +
3838
'<div>City of Manchester Stadium<br />Capacity: 55,097</div>');
3939

4040
addMarkerToGroup(group, {lat: 53.430, lng: -2.961},
41-
'<div><a href="https://www.liverpoolfc.tv">Liverpool</a></div>' +
41+
'<div><a href="https://www.liverpoolfc.tv" target="_blank">Liverpool</a></div>' +
4242
'<div>Anfield<br />Capacity: 54,074</div>');
4343
}
4444

0 commit comments

Comments
 (0)