Skip to content

TypeScript implementation of InstiMap for InstiApp

License

Notifications You must be signed in to change notification settings

pulsejet/InstiMapWeb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InstiMap Web

InstiApp License

JavaScript implementation of InstiMap for InstiApp

Installation

Install in your project as npm install instimapweb

API

The following important calls are available

  • getMap - Construct and get the map from locations. This is supposed to be called only once
  • getGPS - Try to get a watch on geolocation
  • moveToLocation - Move the marker to an ILocation
  • moveMarker - Move the marker to a location
  • cleanup - Clear geolocation watch if any
  • setResidencesVisible - set if residences are visible

Configuration

getMap takes as the first argument a configuration as follows:

mapPath: string;
mapMinPath: string;
markersBase: string;
attributions: string;
map_id: string;
marker_id: string;
user_marker_id: string;

License

Peremissively licensed under MIT License.

Note The map used in the app is not distributed under this license, please contact Prof. Mandar Rane for using/distributing the map in any format.

About

TypeScript implementation of InstiMap for InstiApp

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published