stefanocudini / Leaflet Compass
Licence: mit
Leaflet plugin to show a rotating Compass!
Stars: ✭ 67
Programming Languages
javascript
184084 projects - #8 most used programming language
Labels
Projects that are alternatives of or similar to Leaflet Compass
Here Android Sdk Examples
Java-based projects using the HERE SDK for Android.
Stars: ✭ 127 (+89.55%)
Mutual labels: mobile-app, mapping
Here Ios Sdk Examples
Objective-C and Swift projects using the HERE SDK for iOS.
Stars: ✭ 52 (-22.39%)
Mutual labels: mobile-app, mapping
Capsicain
Powerful low-level keyboard remapping tool for Windows
Stars: ✭ 51 (-23.88%)
Mutual labels: mapping
Lego Loam
LeGO-LOAM: Lightweight and Ground-Optimized Lidar Odometry and Mapping on Variable Terrain
Stars: ✭ 1,138 (+1598.51%)
Mutual labels: mapping
Find Maraudersmap
Internal positioning for everyone, in the style of Harry Potter
Stars: ✭ 62 (-7.46%)
Mutual labels: mapping
React Native Hotels App
⛺️ Hotels App: A simple react-native App exercise with nodeJS API consumption
Stars: ✭ 50 (-25.37%)
Mutual labels: mobile-app
String Interner
A data structure to efficiently intern, cache and restore strings.
Stars: ✭ 60 (-10.45%)
Mutual labels: mapping
Nativescript Ionic Template
📱 🖥 Create Mobile First apps, Web and Native sharing the code with Angular 🎉
Stars: ✭ 65 (-2.99%)
Mutual labels: mobile-app
Datawrapper
An open source data visualization platform helping everyone to create simple, correct and embeddable charts in minutes.
Stars: ✭ 1,133 (+1591.04%)
Mutual labels: mapping
Rn Minimalist Weather App
Minimalist Weather App using React Native
Stars: ✭ 52 (-22.39%)
Mutual labels: mobile-app
Leaflet.labeltextcollision
Leaflet.LabelTextCollision is a LeafletJS plug-in to display labels on vector data while avoiding label collisions.
Stars: ✭ 65 (-2.99%)
Mutual labels: mapping
Gas Oil Mixture Mobile
Mobile app for calculation of gasoline/oil ratio for 2 stroke engines built with React Native.
Stars: ✭ 61 (-8.96%)
Mutual labels: mobile-app
Alpaca Rn Mobile
An example React native mobile app to help you get started with Alpaca
Stars: ✭ 67 (+0%)
Mutual labels: mobile-app
Grid map
Universal grid map library for mobile robotic mapping
Stars: ✭ 1,135 (+1594.03%)
Mutual labels: mapping
Leaflet.Control.Compass
A leaflet control plugin to make simple rotating compass
Tested in Leaflet 0.7 and 1.2
require HTML5 API on mobile device!
Tested platforms:
- Chrome on Android
- Safari on iOS
Demo online:
labs.easyblog.it/maps/leaflet-compass
Usage
Adding the Compass Control to the map:
map.addControl( new L.Control.Compass() );
Options
Option | Default | Description |
---|---|---|
autoActive | false | activate control at startup |
showDigit | false | show angle value bottom compass |
textErr | '' | error message on alert notification |
callErr | null | function that run on compass error activating |
angleOffset | 2 | min angle deviation before rotate, big angleOffset is need for device have noise in orientation sensor |
position | 'topright' | position of control inside map |
Methods
Method | Arguments | Description |
---|---|---|
autoActive | false | activate control at startup |
getAngle | return Azimut angle | |
setAngle | angle | set rotation compass |
activate | active tracking on runtime | |
deactivate | deactive tracking on runtime |
Events
Event | Data | Description |
---|---|---|
'compass:rotated' | angle | fired after compass data is rotated |
'compass:disabled' | fired when compass is disabled |
Where
Source code:
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].