new Annotation(type, entity, sp)
Create an Annotation object.
Parameters:
Name | Type | Description |
---|---|---|
type |
string | The type of the annotation. |
entity |
string | The name of the annotated entity. |
sp |
SensiblePart[] | An array of the sensible parts of the map. |
Example
var annotation = new WIND.Annotation("ville", "Mauléon-Licharre", new Array(mp));