POI cleanups, js/docs
This commit is contained in:
@@ -600,7 +600,7 @@ values. The valid configuration keys are listed below.
|
||||
|
||||
``markers``
|
||||
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::
|
||||
|
||||
|
||||
@@ -388,7 +388,7 @@ overviewer.views.SignControlView = Backbone.View.extend({
|
||||
// hide markers that are part of other tilesets than this
|
||||
// for each markerSet, check:
|
||||
// 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];
|
||||
|
||||
jQuery.each(markers, function(key, markerSet) {
|
||||
@@ -429,7 +429,7 @@ overviewer.views.SignControlView = Backbone.View.extend({
|
||||
*/
|
||||
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 = markers[curMarkerSet];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user