Skip to content
Tuan Nguyen edited this page Nov 17, 2016 · 33 revisions

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.

Getting Started

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.

Example Usage

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.

API Documentation

Properties

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
Clone this wiki locally