/maphancement

Google Map (progressive enhanced) - At first load only the static image of the map is loaded, once the user interacts with the map the iframe with the dynamic map is loaded

Primary LanguageJavaScriptMIT LicenseMIT

maphancement

Google Map (progressive enhanced) - At first load only the static image of the map is loaded, once the user interacts with the map the iframe with the dynamic map is loaded.

Usage

  1. Insert <script src="maphancement.min.js"></script> OR <script src="maphancement.jquery.min.js"></script> if you already use jQuery just before </body>
  2. Add data-map="true" to your static map image. Done.

Demo

http://jsbin.com/cucof/latest