JavaScript implementation of InstiMap for InstiApp
Install in your project as npm install instimapweb
The following important calls are available
getMap
- Construct and get the map from locations. This is supposed to be called only oncegetGPS
- Try to get a watch on geolocationmoveToLocation
- Move the marker to anILocation
moveMarker
- Move the marker to a locationcleanup
- Clear geolocation watch if anysetResidencesVisible
- set if residences are visible
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;
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.