-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Welcome to the svyGMaps wiki!
This wiki provides comprehensive documentation for using the svyGMaps web-component, which allows you to display a location using the Google Maps API within Servoy's NGClient.
First import the component using one of the release binaries (this component will also eventually be available through the web package manager). To see it in action you can import the example solution from the releases. Most importantly the component requires a Google Map API key to function properly. You can get one here.
First add the component to a form and setup the apiKey. Next you have two options to load a location - either use the address or the latitude/longitude data provider to pinpoint a location. If you are using both the address data provider will have the priority.
You can add additional styles to the map component using the styleClass data provider. For more information check out the example solution.
Type | Name | Summary | Required |
---|---|---|---|
String | address | Address to lookup | Optional |
String | apiKey | Google Map API Key | Required |
Number | latitude | Latitude Coordinate | Optional |
Number | longitude | Longitude Coordinate | Optional |
String | styleClass | CSS styles for component | Optional |