https://github.com/jesusr/infobubble-modern
https://github.com/jesusr/infobubble-modern
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jesusr/infobubble-modern
- Owner: jesusr
- License: apache-2.0
- Created: 2019-08-09T20:17:11.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-02-12T11:44:03.000Z (over 4 years ago)
- Last Synced: 2025-07-04T16:15:28.210Z (11 months ago)
- Language: JavaScript
- Size: 73.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# infobubble-modern
Infobubble component module for Google Maps replacement without building proccess, es2015 compliant. It export the native class instead a built component oriented to be included in a widget.
## Getting Started
### Configuration
| Variable | Type | Default |
|--|--|--|
| closeSrc | string | 'https://maps.gstatic.com/intl/en_us/mapfiles/iw_close.gif' |
| arrowSize | number | 15 |
| arrowStyle | number | 0 |
| shadowStyle | number | 1
| minWidth | number | 50 |
| arrowPosition | number | 50 |
| padding | number | 10 |
| borderWidth | number | 1 |
| borderColor | string | '#ccc' |
| borderRadius | number | 10 |
| backgroundColor | string | '#fff' |
| disableAutoPan | boolean | false |
| disableAnimation | boolean | false, |
## Running the tests
`npm test`
### Code quality, linters and styling
Controlled by **Eslint**, based in the `eslint:recommended` preset.