Class: Popup

cercaliagl.Popup


Javascript ES5

const popup = new cercaliagl.Popup({ ... });

Create a popup. Popup belongs to a marker.

Example usage:

```js const popup = new cercaliagl.Popup({ title: 'Header', content: '

Hello World!
', className: 'css-custom-class', visible: true, });

const marker = new cercaliagl.Marker({ position: new cercaliagl.LonLat(1.41, 41.431), popup: popup })

map.addMarker(marker); ``'