infusion-code/angular-maps

View on GitHub
src/models/bing/bing-events-lookup.ts

Summary

Maintainability
A
1 hr
Test Coverage
import { IMapEventLookup } from '../../interfaces/imap-event-lookup';

/**
 * This contstant translates the abstract map events into their corresponding bing map
 * equivalents.
 */
export const BingMapEventsLookup: IMapEventLookup = {
    click :             'click',
    dblclick :          'dblclick',
    rightclick :        'rightclick',
    resize :            'resize',
    boundschanged :     'viewchangeend',
    centerchanged :     'viewchangeend',
    zoomchanged :       'viewchangeend',
    mouseover:          'mouseover',
    mouseout :          'mouseout',
    mousemove :         'mousemove',
    infowindowclose:    'infoboxChanged'
};