An open API service indexing awesome lists of open source software.

https://github.com/cartyc/fmmap

Render a google map in a FileMaker webviewer
https://github.com/cartyc/fmmap

Last synced: 5 months ago
JSON representation

Render a google map in a FileMaker webviewer

Awesome Lists containing this project

README

          

# 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..}.