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
- Host: GitHub
- URL: https://github.com/cartyc/fmmap
- Owner: cartyc
- Created: 2016-01-20T15:19:06.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-25T02:16:07.000Z (over 10 years ago)
- Last Synced: 2025-02-28T13:31:46.091Z (over 1 year ago)
- Language: HTML
- Size: 79.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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..}.