External: main.points.js

main.points.js

Simple json object with point-specific configuration parameters

Example

[
  {
     "id": "c1", // point id. Must be unique through all points and regions
     "x": 259, // x coordinate of point position
     "y": 76, // y coordinate of point position
     "tx": 269, // x coordinate of point shortname. If null or not specified - will be calculated related to textPos and point x coordinate.
     "ty": null, // y coordinate of point shortname. If null or not specified - will be calculated related to point y coordinate
     "radius": 5, // radius of a circle
     "name": "point name", // point name. Will be shown in popup on mouse over
     "shortname": "short name", // point name. Will be drawn near point
     "textPost": null, // One of: left, right or middle.
     "color": "#999", // See region "color"
     "color2": "#f3a72f",// See region "color2"
     "color3": "#c48826", // See region "color3"
     "url": "javascript:void(0)", // See region "url"
     "target" : "", // Target for opening url
     "popup": "", // Popup text
     "image": "", // Popup image
     "selectable": true // Whether point can be selected.
  },
...
]