Skip to content

ventsislav-georgiev/inkdrop-ol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenLayers map integration for Inkdrop

Supports OpenStreetMaps, Bing Maps and Google Maps.

Install

ipm install ol

Example

Bing Maps

```ol
source: bing

view:
  # The center coordinates can be taken from Google Maps
  center: [34.652500, 135.506302]
  zoom: 9
```

Center Marker

```ol
centerMarker:
  enabled: true
  scale: 1
```

Custom Marker

```ol
centerMarker:
  enabled: true
  scale: 1
  anchor: [0.5, 1]
  src: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAA...'
```


Usage

See all available options here: defaults.yml


Default options

image

Advanced options

image

Google Maps

Does not work without API Key

image


Version history

See the CHANGELOG.md for an overview of what changed in each update.


Attributions

Marker icon pin by ONN Digital

About

OpenLayers map integration for Inkdrop

Resources

License

Stars

Watchers

Forks

Packages