0

POI cleanups, js/docs

This commit is contained in:
Andrew Chin
2012-07-28 20:58:21 -04:00
parent 8c9de7a575
commit cf50d5da46
2 changed files with 3 additions and 3 deletions

View File

@@ -600,7 +600,7 @@ values. The valid configuration keys are listed below.
``markers`` ``markers``
This controls the display of markers, signs, and other points of interest This controls the display of markers, signs, and other points of interest
in the output HTML. It should be a list of filter functions. in the output HTML. It should be a list of dictionaries.
.. note:: .. note::

View File

@@ -388,7 +388,7 @@ overviewer.views.SignControlView = Backbone.View.extend({
// hide markers that are part of other tilesets than this // hide markers that are part of other tilesets than this
// for each markerSet, check: // for each markerSet, check:
// if the markerSet isnot part of this tileset, hide all of the markers // if the markerSet isnot part of this tileset, hide all of the markers
var curMarkerSet = overviewer.mapView.options.currentTileSet.attributes.path; var curMarkerSet = overviewer.mapView.options.currentTileSet.get("path");
var dataRoot = markers[curMarkerSet]; var dataRoot = markers[curMarkerSet];
jQuery.each(markers, function(key, markerSet) { jQuery.each(markers, function(key, markerSet) {
@@ -429,7 +429,7 @@ overviewer.views.SignControlView = Backbone.View.extend({
*/ */
render: function() { render: function() {
var curMarkerSet = overviewer.mapView.options.currentTileSet.attributes.path; var curMarkerSet = overviewer.mapView.options.currentTileSet.get("path");
//var dataRoot = overviewer.collections.markerInfo[curMarkerSet]; //var dataRoot = overviewer.collections.markerInfo[curMarkerSet];
var dataRoot = markers[curMarkerSet]; var dataRoot = markers[curMarkerSet];