Public
Authored by Sarah

Map Module

import { loadGMapApi } from "./map.js";

  const map = $("#map");
  if (
    map.length > 0 &&
    $(window).scrollTop() > map.position().top - map.height() - 100
  ) {
    loadGMapApi(mapVars.key, "initMap");
  }
Edited
map.js 722 Bytes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment