Web: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
 (→)  | 
				 (→)  | 
				||
| Line 10: | Line 10: | ||
The .npmrc file should not be checked in to version control.  | The .npmrc file should not be checked in to version control.  | ||
To add the Maria map to to your existing project, install the following NPM-packages.  | |||
To add the Maria   | |||
<source lang="Bash">  | <source lang="Bash">  | ||
npm i @mariateleplan/map-core   | npm i @mariateleplan/map-core    | ||
</source>  | </source>  | ||
== Example ==  | == Example ==  | ||
Revision as of 21:35, 24 January 2022
Getting Started
The Maria web map component is published as a pure javascript/typescript library. It can be used with the framework of the developrers own choosing.
An access token from Teleplan is needed to access these NPM-packages. The access token can be placed in a local .npmrc file in the root of the project using the packages.
Example .npmrc:
//registry.npmjs.org/:_authToken=YOUR_ACCESS_TOKEN
The .npmrc file should not be checked in to version control.
To add the Maria map to to your existing project, install the following NPM-packages.
npm i @mariateleplan/map-core