We have just released a new version of the Maps add-on - 1.3.
- Added HeatMap layer support. Setting a heat map has become easier and can be done in XML descriptor:
<maps:heatmap id="heatmapLayer" dataContainer="ordersDc" intensityProperty="amount" maximumIntensity="100" minOpacity="0.4"/>
- Added Image layer support. Allows you to display an image inside specific borders on a map.
<maps:image id="imageLayer" image="url:https://www.cuba-platform.com/uploads/a07f0d67b82f44329b5b3cef5e8bfa29.jpg" topLeft="-37.88085,53.54030" bottomRight="-11.10742, 44.65302" opacity="0.5"/>
- Added some useful methods to GeoMap API:
List<Layer> getLayers()— returns a list of layers currently added to the map.
Point getCenter()— returns current geographic center of the map.
double getZoomLevel()— returns current map zoom level.
void zoomToBounds(Point topLeft, Point bottomRight)— sets a map view that contains the given geographical bounds with the maximum zoom level possible.
void zoomToGeometry(Geometry geometry)— sets a map view that contains envelope of the given geometry with the maximum zoom level possible.
We are looking forward to your feedback!