![]() Welcome! Our Tools - BpBrowser - BpControl - BpDownloadUrl - BpLabel - BpMarker - BpMarkerLight - BpMarkerList About Us Licensing Fees Support Contact Us |
BpMarkerList ReferenceIntroduction
Download
This class can help manage sidebar lists of markers.
The main features of BpMarkerList are sorting, marker highlighting, and a simple, effective HTML templatization system for defining the appearance and behavior of sidebar divs. This class expects there to be some extra features not found in GMarkers. Use BpMarkers or BpMarkerLights instead. The return value of marker.getUserData() is assumed to be an object. The properties of that object are used to sort the markers in the list, using list.sort(). Note: When a marker is highlighted and it's not in view, the div containing the list is scrolled so that the marker is in view. While this is generally helpful, if the page is scrollable, it can be make for a jarring user experience. This problem is particularly severe in Opera. To remedy this, pass a true value for the noScroll argument when highlighting a marker or sorting the list, or make sure that the page is not scrollable. This class requires BpBrowser. For non-commercial use, you will need to either add an already-mapped marker as the first marker on the list, or call list.setMap(map) before adding any markers to the list. new BpMarkerList()Code: add()Code: clear()Code: contains()Code: getContainer()Code: getDivs()Code: getHighlightedMarker()Code: get/setHtmlTemplate()Code: getMarkerById()Code: getMarkers()Code: getTag()Code: highlight()Code: isUnderPagePixel()Code: loadDiv()Code: lowlight()Code: remove()Code: setMap()Code: sort()Code: |
||
| Copyright © 2006-2008 - BitPerfect | |||