Class: SnapLayerPixel

ol.interaction. SnapLayerPixel

An interaction to snap on pixel on a layer The CenterTouch interaction modifies map browser event coordinate and pixel properties to force pointer on the viewport center to any interaction that them.


new SnapLayerPixel(options)

Parameters:
Name Type Description
options olx.interaction.InteractionOptions

Options

Properties
Name Type Description
layer ol.layer.Layer

layer to snap on

Extends

  • ol.interaction.Interaction