Skip to content

Instantly share code, notes, and snippets.

View dmitry-zasypkin's full-sized avatar

Dmitry Zasypkin dmitry-zasypkin

  • InterSystems
  • Dubai
View GitHub Profile
@dmitry-zasypkin
dmitry-zasypkin / HeatmapDemo.xml
Created May 31, 2016 15:10
InterSystems DeepSee heatmap demo
<?xml version="1.0" encoding="UTF-8"?>
<Export generator="Cache" version="25">
<Class name="DeepSee.EnhancedMapPortlet">
<Description>
Portlet that displays a clickable google map. Supports 2012.2 or higher versions of Cache.
Improvements compared to %DeepSee.Component.Widget.map:
1) Polygon support. In addition to markers, this widget supports clickable colored polygons with tooltips.
The "coordsProperty" widget setting should be set to the name of a data source property that provides polygon coordinates. The value of this property is expected to contain one or more ordered sequences of coordinates each of which designates a closed loop.
Sequences are delimited by ; (semicolon). Coordinates in such a sequence are delimited by spaces, for example: 42.725042,55.257428,0 42.727162,55.270206,0 42.737196,55.27019,0 42.725042,55.257428,0
Each coordinate triple consists of latitude / longitude numbers and a noWrap flag (see http://code.google.com/intl/en/apis/maps/documentation/javascript/reference.html#La