Skip to content
This repository has been archived by the owner on May 24, 2021. It is now read-only.

iframe template, MapsLib class

Compare
Choose a tag to compare
@derekeder derekeder released this 04 Mar 21:52
· 38 commits to master since this release

Version 1.4 updates:

  • MapsLib refactored as a javascript class.
  • new iframe template (demo)
  • addrMarkerImage is optional. setting it to blank will hide the marker.

Configuring the template should be a bit easier now. You can now pass in map options in index.html or index_iframe.html like so:

var myMap = new MapsLib({
  fusionTableId:      "1m4Ez9xyTGfY2CU6O-UgEcPzlS0rnzLU93e4Faa0",
  googleApiKey:       "AIzaSyA3FQFrNr5W2OEVmuENqhb2MBB2JabdaOY",
  locationColumn:     "geometry",
  map_center:         [41.8781136, -87.66677856445312],
  locationScope:      "chicago"
});