Your IP : 108.162.241.184


Current Path : /var/www/element/data/www/revenuestory.ru/bitrix/js/location/core/src/base/
Upload File :
Current File : /var/www/element/data/www/revenuestory.ru/bitrix/js/location/core/src/base/mapbase.js

import {EventEmitter} from 'main.core.events';
import {Location} from 'location.core';

/**
 * Base class for source maps
 */
export default class MapBase extends EventEmitter
{
	constructor()
	{
		super();
		this.setEventNamespace('BX.Location.Core.MapBase');
	}

	render(props: object): void
	{
		throw new Error('Must be implemented');
	}

	set location(location: Location): void
	{
		throw new Error('Must be implemented');
	}

	set mode(mode: string): void
	{
		throw new Error('Must be implemented');
	}

	set zoom(zoom: number): void
	{
		throw new Error('Must be implemented');
	}

	onLocationChangedEventSubscribe(listener: function): void
	{
		throw new Error('Must be implemented');
	}

	onMapShow()
	{

	}

	destroy()
	{

	}
}