src/app/storymaps/tpl/ui/StoryText.js
// Add a marker layer, if configured
Add a marker layer, if configured
Add a marker layer if configured
function findOrCreateLocateLayer() {
			var pointLayer = app.map.getLayer("MJActionsLocate");
			if (!pointLayer) {
				pointLayer = new GraphicsLayer({
					id: "MJActionsLocate"
				});
				app.map.addLayer(pointLayer);
			}
			return pointLayer;
		}
function findOrCreateLocateLayer ( ) { var pointLayer = app . map . getLayer ( "MJActionsLocate" ) ; if ( ! pointLayer ) { pointLayer = new GraphicsLayer ( { id : "MJActionsLocate" } ) ; app . map . addLayer ( pointLayer ) ; } return pointLayer ; }
Add a marker layer, if configured
Add a marker layer if configured