Marker

Introduction

This type of layer is used to add a new marker to the map, you can add as many markers as you want.

Basic Example

This is a basic example of a Map using the component o-map-layer inside to create a new marker. You can check a working example of a marker layer here

HTML

<o-map #oMapMarker center="42.940599, -7.120727" zoom="8" min-zoom="3" max-zoom="20" zoom-control="yes"
    search-control="no" layer-panel-visible="no" fxFlex>
    <o-map-layer layer-type="marker" layer-id="office_marker" layer-center="42.240599;-8.720727" layer-menu-label="Office headquarters "
    layer-menu-label-secondary="Location of office headquarters"></o-map-layer>
</o-map>

In the API tab you can check all inputs and outputs allowed.

Adding Marker

Updated: