Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fmMap

Render a google map in a FileMaker webviewer

makeMap(address, type, h, w, zoom, api)

Args

  • address should be a JSON object containing lat, lng and other keys. ex {lat : x, lng: y, title: This is a point}
  • Type should be road, sat, or terrain. This will select the google map type
  • h, w are the height and width of the map. I just set this as 100% for both so that the map takes up the whole webview.
  • zoom is for the maps zoom level.
  • api will be you api key

Usage

I store html template in a seperate table and collect it via executeHTML and render it via that. The address args can be as long as you want it to be provided it is a comma serperated list of objects {lat: x, lng:y}, {foo:boo}, {etc..}.

About

Render a google map in a FileMaker webviewer

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages