POI cleanups, js/docs
This commit is contained in:
@@ -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::
|
||||||
|
|
||||||
|
|||||||
@@ -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];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user