From 4bab9fcef45d66ebc898451470aef9af9d6cc1aa Mon Sep 17 00:00:00 2001 From: Nele Gross Date: Wed, 11 May 2022 11:58:42 +0200 Subject: [PATCH 1/2] TECHDOCS-1157 add instructions on how to run examples --- README.md | 2 +- interactive-basemap/demo.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8f979d1..5130739 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Maps API for JavaScript This repository holds a series of JavaScript based examples using the **HERE Maps API for JavaScript**. More information about the API can be found on [developer.here.com](https://developer.here.com/develop/javascript-api) under the JavaScript APIs section. +Download all files in the GitHub folder linked to the "Fork on GitHub" button on the top of the example page. Additionally, download the **test-credentials.js** file, the **template.css** file and the **meta.json** file from the folder **maps-api-for-javascript-examples** and place it in a folder above your folder in which you placed the example. > **Note:** In order to get the sample code to work, you **must** replace all instances of `window.apikey` within the code and use your own **HERE** credentials. @@ -22,7 +23,6 @@ All of the following examples use **version 3.1** of the API * [Display KML Data](https://heremaps.github.io/maps-api-for-javascript-examples/display-kml-on-map/demo.html) - Parse a KML file and display the data on a map * [Display GeoJSON Data](https://heremaps.github.io/maps-api-for-javascript-examples/display-geojson-on-map/demo.html) - Parse a GeoJSON file and display the data on a map * [Display an Indoor Map](https://heremaps.github.io/maps-api-for-javascript-examples/indoor-map/demo.html) - Use the HERE Indoor Maps API to load and visualize an indoor map -* [Display routing on an Indoor Map](https://heremaps.github.io/maps-api-for-javascript-examples/indoor-map-routing/demo.html) - Use the HERE Indoor Maps API to calculate an indoor-outdoor route * [Draggable Marker](https://heremaps.github.io/maps-api-for-javascript-examples/draggable-marker/demo.html) - Display a moveable marker on a map * [Draggable geo shapes](https://heremaps.github.io/maps-api-for-javascript-examples/draggable-shapes/demo.html) - Display moveable geometric shapes on a map * [Extruded geo shapes](https://heremaps.github.io/maps-api-for-javascript-examples/extruded-objects/demo.html) - 3D extrusion of the geometric shapes diff --git a/interactive-basemap/demo.html b/interactive-basemap/demo.html index 2488a8b..34aac00 100644 --- a/interactive-basemap/demo.html +++ b/interactive-basemap/demo.html @@ -19,7 +19,7 @@

Interactive base map

Retrieve information associated with the map features

-

This example demonstrates how to enable the interactions with the base map features. The interactions are enabled for the countries' +

This example demonstrates how to enable the interactions with the base map features. See the README for instructions on how to run the example.The interactions are enabled for the countries' cities', towns' and neighbourhoods' labels. When these labels are clicked the info bubble with the information about the label is shown.

From 2c2b9b6bab61c4a0e5aa21fec8923f136023a391 Mon Sep 17 00:00:00 2001 From: Nele Gross Date: Fri, 13 May 2022 15:31:26 +0200 Subject: [PATCH 2/2] TECHDOCS-1157 add instructions on how to run examples --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5130739..694b5f0 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Maps API for JavaScript -This repository holds a series of JavaScript based examples using the **HERE Maps API for JavaScript**. More information about the API can be found on [developer.here.com](https://developer.here.com/develop/javascript-api) under the JavaScript APIs section. -Download all files in the GitHub folder linked to the "Fork on GitHub" button on the top of the example page. Additionally, download the **test-credentials.js** file, the **template.css** file and the **meta.json** file from the folder **maps-api-for-javascript-examples** and place it in a folder above your folder in which you placed the example. +This repository holds a series of JavaScript based examples using the **HERE Maps API for JavaScript**. More information about the API can be found on [developer.here.com](https://developer.here.com/develop/javascript-api) under the JavaScript APIs section. +To run the examples, clone this repo to a folder on your Desktop. Replace the credentials in the **test-credentials.js** file with your own credentials. > **Note:** In order to get the sample code to work, you **must** replace all instances of `window.apikey` within the code and use your own **HERE** credentials.