Example of working with Google Maps
Java CSS
Latest commit 37fd5a1 Dec 20, 2016 @natfirst natfirst Upgrade to platform-6.3.5
Failed to load latest commit information.
modules Update GeoCoordinateDatatype.java Nov 24, 2016
.gitignore init Nov 16, 2016
README.md Upgrade to platform-6.3.5 Dec 20, 2016
build.gradle Upgrade to platform-6.3.5 Dec 20, 2016
extra.gradle init Nov 16, 2016
settings.gradle Renaming Nov 21, 2016


Google Maps

This is an example of working with Google Maps using the CUBA platform Charts and Maps premium add-on.

The application has three entities with corresponding screens:

  • Territory - defines a territory as a polygon on the map.
  • Salesperson - a salesperson assigned to a territory. Use its editor screen to upload a picture.
  • Order - contains date, amount and the reference to a salesperson.

The Map screen displays the map with the center defined in web-app.properties by the charts.map.defaultLatitude and charts.map.defaultLongitude application properties. If you click to a salesperson picture, the map will display the corresponding territory polygon. If you click to a polygon, a modal window will be shown. The window contains salesperson details and a chart with data about related orders.

Based on CUBA Platform 6.3.5