Custom POI Views

This example shows how to display POI Views containing custom HTML.

Click on the marker to display the POI card. Then click on the POI card to display the POI View.

This is an optional component with a few dependencies. To use it, you will have to include JQuery, wrld.css and marker_controller.js as shown in the code sample below.

    <script src=""></script>
    <link href="" rel="stylesheet" />

    <link href="" rel="stylesheet"/>
    <script src=""></script>
    <script src=""></script>
  <div style="position: relative">
    <div id="map" style="height: 400px"></div>
      var map ="map", "your_api_key_here", {
        center: [56.461387, -2.976966],
        zoom: 17,
        headingDegrees: 310

      var markerController = new WrldMarkerController(map, { poiViewsEnabled: true });

      var markerId = 0;
      var markerOptions = {
        poiView: {
          title: "WRLD",
          customView: "custom_view.html",
          customViewHeight: 200
        iconKey: "offices"

      var marker = markerController.addMarker(markerId, [56.459941, -2.978211], markerOptions);