Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
f15868c
Update MapsIndoors SDK version to 4.40.1 in tutorial documentation
eNepper May 6, 2025
52fdf3f
Add GitHub embed for initial setup index.html in tutorial
eNepper May 6, 2025
ebeee18
Remove GitHub embed for initial setup in tutorial
eNepper May 6, 2025
8b81a73
Update tutorial to reflect new MapsPeople Austin Office coordinates
eNepper May 6, 2025
b4d4bcf
Remove Mapbox manual setup instructions from tutorial
eNepper May 6, 2025
fd66f00
Add CodeSandbox demo link for Mapbox floor switching example
eNepper May 6, 2025
807b54e
Update tutorial HTML structure and script references for consistency
eNepper May 6, 2025
711b777
Update map dimensions in tutorial to improve layout consistency
eNepper May 6, 2025
fb4f04a
Remove redundant X-UA-Compatible meta tag from tutorial HTML examples…
eNepper May 6, 2025
98cbbe8
Update map dimensions in tutorial for improved layout consistency
eNepper May 6, 2025
b9eff76
Update map center coordinates and set MapsIndoors API key in tutorial
eNepper May 6, 2025
d6ce76b
Adjust MapsIndoors transition level in map view options for improved …
eNepper May 6, 2025
8663ea0
Update tutorial to reference 'script.js' instead of 'main.js' for cod…
eNepper May 6, 2025
83a044b
Refactor tutorial HTML structure and remove redundant line breaks for…
eNepper May 7, 2025
cb98d62
Fix formatting issues in tutorial HTML and clean up unnecessary white…
eNepper May 7, 2025
e2067cf
Update hardcoded origin location coordinates in getRoute function for…
eNepper May 7, 2025
b84fc34
Update tutorial to reference 'script.js' instead of 'main.js' for con…
eNepper May 7, 2025
06da182
Remove unnecessary blank lines for improved readability in tutorial
eNepper May 7, 2025
3952a26
Update MapsIndoors API key references for consistency and accuracy
eNepper May 7, 2025
87a69e7
Remove deprecated Mapbox manual section and clean up tutorial for imp…
eNepper May 7, 2025
c9fe12b
Add Mapbox manual section with search functionality and result filtering
eNepper May 7, 2025
6d91422
Update MapsIndoors integration to use MapboxV3View and set API key
eNepper May 7, 2025
f654426
Enhance search functionality to clear results and highlight locations…
eNepper May 7, 2025
b0a210c
Fix case sensitivity in highlight method call for search functionality
eNepper May 7, 2025
5a33376
Update Mapbox integration to version 3.10.0 and remove API key from s…
eNepper May 7, 2025
81f22b8
Update MapsIndoors component script tags to use the latest version an…
eNepper May 7, 2025
8917f8f
Update MapsIndoors component script source to use ESM version for imp…
eNepper May 7, 2025
ba27a56
Add module type script tag for MapsIndoors components in tutorial
eNepper May 7, 2025
2f4e83a
Remove API key from MapsIndoors SDK script tag and update instruction…
eNepper May 7, 2025
8743124
Refactor `<mi-map-googlemaps>` component attributes for improved read…
eNepper May 7, 2025
c4eecba
Add tutorial for setting up the development environment
eNepper May 7, 2025
f5e0b72
Remove unnecessary link and ID from the "Set Up Your Environment" sec…
eNepper May 7, 2025
700fbcd
Add front matter to "Set Up Your Environment" tutorial
eNepper May 7, 2025
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
34 changes: 34 additions & 0 deletions sdks-and-frameworks/web/tutorial/1-set-up-your-environment.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
description: Step 1. Set Up Your Environment
---

# Step 1. Set Up Your Environment

1. If you do not have prior development experience, you can install an Integrated Development Environment (IDE), e.g. [<mark style="color:purple;">Visual Studio Code</mark>](https://code.visualstudio.com/).
2. Start by creating a new project folder. The location is not important, just remember the location, and ensure your newly created project folder is empty.
3. Inside that, create two empty files: `index.html` and `script.js`.

> The file `index.html` is the entry point for our application and contains the HTML code. The file `script.js` will be read by `index.html` and consists of the JavaScript code for the actual application to run. To try the app you will be creating, run `index.html` in your web browser.
4. Open `index.html`. Create a basic HTML structure and include the `script.js` file as follows:

```html
<!-- index.html -->
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MapsIndoors</title>
</head>

<body>
<script src="script.js"></script>
</body>

</html>
```

Both here, and in the following examples, you will always be able to see which of the two files the code should go in, by looking at the first line, where the name of the file is written.

Your environment is now fully configured, and you have the necessary API keys. Next, you will learn how to display a map with MapsIndoors.
Loading