Hello team
I have been trying to download the mappedin SDK so that I can start developing my map and the codes but I dont know how to go on about that.
Hello team
I have been trying to download the mappedin SDK so that I can start developing my map and the codes but I dont know how to go on about that.
Hey there @MazadeDeveloper !
Excited you’re here
Good place to start is our Getting Started Guide - Set up Your Local Environment
Here are two ways you can add Mappedin Web SDK v6 to your project:
yarn add @mappedin/mappedin-js@alpha
or
npm install @mappedin/mappedin-js@alpha
Feel free to play around with our Demo Maps.
It’s important to note that use of the Mappedin SDK with your own map requires a Pro or Enterprise Map Account.
LMK if you have anymore questions
Good morning Kim
I hope this email finds you well.
Thanks for the response but I still have challenges with regards to installing the SDK on my machine.Which IDE are we using?
Please assist me because I want tfo start coding using the Mappedin SDK.
.
kind regards
MazadaDeveloper
Good morning!
I personally use VS Code - although a quicker way to poke around is checking out the CodeSandbox demo to get started!
https://codesandbox.io/p/sandbox/optimistic-gwen-nsmdfy?file=%2Fsrc%2Fmain.ts%3A20%2C1
Some notes:
package.json
file: you’ll see under dependencies
we have "@mappedin/mappedin-js": "alpha"
main.ts
file: we use getMapData
to retrieve map info and show3dMap
to render the map on the HTML page on the div element with the id ‘mappedin-map’
index.html
file: the HTML page that loads in main.ts
script, some styling, and 1 div element
You can try different loading different maps by adjusting mapId
in main.ts
with our Demo Maps
Hope that helps you get started!