...
- Only one of
data
ordatadefinition
should be set - If
datadefintion
is set thenentity
andlabel
should also be set - If
data
is set thenentity
does not need to be set (and will be ignored) - If
data
is set thenlabel
isn't required, but will override the label set for the given data if set
Examples
Code Block | |||||||
---|---|---|---|---|---|---|---|
| |||||||
<item action="weave.maptips"> <tip> <data>property_details</data> <isDefault>true</isDefault> </tip> <tip> <data>road_details</data> </tip> </item> |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<item action="weave.maptips"> <multipleMaximum>2</multipleMaximum> <multipleText>Too many features</multipleText> <minScale>1000</minScale> <maxScale>50000</maxScale> <radius>3</radius> <tip> <data>property_details</data> <isDefault>true</isDefault> </tip> <tip> <data>road_details</data> </tip> </item> |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<item action="weave.maptips"> <pressed>true</pressed> <tip> <label>Property</label> <entity>property</entity> <datadefinition>property_details</datadefinition> <isDefault>true</isDefault> <minScale>1000</minScale> <maxScale>10000</maxScale> </tip> <tip> <label>Road</label> <entity>roads</entity> <datadefinition>road_details</datadefinition> <radius>5</radius> <minScale>250</minScale> <maxScale>1000</maxScale> </tip> </item> |