VizMap Spot Settings

VizMap: the Spots parameter Block  get it now


This parameter block is handled by cDataSet classes and defines the dictionary fields required for using as replacements for the standard placemark icon.

For this example we are going to use the Concerts/Venues example. The complete workbook (googlemapping.xlsm) can be downloaded and the example Parameter WorkSheet is called VenuesParameters.

Before setting up the Spots Parameter Block, you should first define the VizMap Dictionary and the VizMap Tabs parameters

SpotsParameter Block

The block for the example application we are using can be found in the VenuesParameters WorkSheet,  looks like this and is terminated by a blank line



You may find this link useful - various markers hosted by Google. It's in Russian, but you'll get the idea.
http://mabp.kiev.ua/2010/01/12/google-map-markers/



Each item is an entry in the VizMap Dictionary . In this case the field 'Artist Photo' exists in its corresponding source Excel data column, and its contents will be a link pointing to a valid image to be used as a marker. The image will be resized to typical icon size.


Categories

Each dictionary item mentioned in the list of categories will generate a drop down list. These can be used as filters to show only certain spots. - for example

vizmap categories for all f1 races


jSon representation

The spots parameter section in this example  generates the following jSon fragment.

"spots":{
"earth marker":null,
"maps marker":null,
"categories":["season","country"]
     }

Example using Google Earth

In this case, the marker for red square has been replaced by the data item showing a picture of Linkin Park, from this generated application.



Comments