make create info window optional parameter

This commit is contained in:
alexan
2012-06-03 22:22:16 -04:00
committed by Andrew Chin
parent 4ae77a9f47
commit e0a4976e6a
3 changed files with 21 additions and 8 deletions
+4 -1
View File
@@ -93,7 +93,7 @@ of dictionaries. For example::
'world': 'myworld',
'title': "Example",
'markers': [dict(name="All signs", filterFunction=signFilter),
dict(name="Chests", filterFunction=chestFilter, icon="chest.png")]
dict(name="Chests", filterFunction=chestFilter, icon="chest.png", createInfoWindow=False)]
}
@@ -112,6 +112,9 @@ The following keys are accepted in the marker dictionary:
on the POI itself (this can be done by modifying the POI in the filter function. See the
example above)
``createInfoWindow``
Optional. Specifies wether or not the icon displays a spezial info window on click. Defaults to true
Generating the POI Markers
==========================