-
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 show a location using Google Maps within Servoy's NGClient.
First import the component using one of the release binaries (it will eventually be available through the web package manager). You can also import the example solution to see it in action. 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 | Optional |
Number | longitude | longitude | Optional |
String | styleClass | css style for map | Optional |