Skip to content

Commit

Permalink
add links to js api dev guide and api ref (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekkozub authored Dec 7, 2023
1 parent 987037f commit 504e1fa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion markers-on-the-map/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,16 @@
<h1>Marker on the Map</h1>
<p>Display a map highlighting points of interest</p>
</div>
<p>This example displays a moveable map of <b>Europe</b>, including markers highlighting the locations of the captials of <b>France</b>, <b>Italy</b>, <b>Germany</b>, <b>Spain</b> and the <b>United Kingdom</b>.</p>
<p>This example displays a moveable map of <b>Europe</b>, including markers highlighting the locations of the capitals of <b>France</b>, <b>Italy</b>, <b>Germany</b>, <b>Spain</b> and the <b>United Kingdom</b>.</p>
<div id="map"></div>
<h3>Code</h3>
<p>
Default markers are created by using the <code>H.map.Marker</code> class without specifying an <code>icon</code> and passing in a location only.<br>
For more information on markers and ways to customize them, refer to the following documents:
<ul>
<li><a href="https://www.here.com/docs/bundle/maps-api-for-javascript-developer-guide/page/topics/marker-objects.html" target="_blank">Marker objects</a></li>
<li><a href="https://www.here.com/docs/bundle/maps-api-for-javascript-api-reference/page/H.map.Marker.html" target="_blank">H.map.Marker</a></li>
</ul>
</p>
<script type="text/javascript" src='demo.js'></script>
</body>
Expand Down

0 comments on commit 504e1fa

Please sign in to comment.