Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Commit

Permalink
fixup! Support multiple points with markers
Browse files Browse the repository at this point in the history
  • Loading branch information
literat committed Feb 12, 2020
1 parent 1fbd30e commit 63260f3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ import LmcMaps from '@lmc-eu/lmc-maps';
(() => {
new LmcMaps({
container: 'lmcMapId',
coords: [15.524, 49.766],
coords: [[15.524, 49.766]],
center: [15.524, 49.766]
zoom: 7,
style: 'lmc-default',
marker: true,
Expand All @@ -58,7 +59,8 @@ import LmcMaps from '@lmc-eu/lmc-maps';
| Property | Description | Type |
| :--- | :--- | :--- |
| container | Id of HTML container for map | string
| coords | LngLat Array for center of map (default [14.4563172, 50.1028914]) | array
| coords | Array of LngLat Array for one or multiple points on map (default [[14.4563172, 50.1028914]]) | array
| center | LngLat Array for center of map (default [14.4563172, 50.1028914]) | array
| zoom | Initial zoom level of map (default: 12) | number
| hasMarker | Show marker in center of map (optional) | boolean
| style | Style id (default: lmc-default) ([see supported styles](https://maps.lmc.cz/#styles)) | string
Expand Down

0 comments on commit 63260f3

Please sign in to comment.