Skip to main content Skip to page footer

Marker with OpenLayers

The following examples shows several grouped marker on a map.

The first map uses tt_address record for each marker with an assigned sys_category. Each sys_category has a different marker icon assigned. In the ods_osm plugin, the categories are selected to show.

The second map uses fe_users record for each marker with an fe_groups record assigned. Each fe_groups has a different marker icon assigned. In the ods_osm plugin, the fe_groups records are selected to show.

Each marker is clickable and a popup shows the name. On using sys_category and tt_address, the address, a link to a website and an optional image are shown additionally. This could be solved with fe_users, too. This depends on the TypoScript configuration.

Inside the layer switcher, each sys_category / fe_groups may be deselected.

Map 1: Using tt_address and sys_category records for markers

Map 2: Using fe_users and fe_groups records for markers