Skip to content

Add links to markers-on-the-map #156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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