Skip to content
Discussion options

You must be logged in to vote

You can bind the change event like this:

<MapControls onChange={myFunction} /* etc */ />

There are also "onStart" and "onEnd" events.

If you don't need that background to pan/zoom, you could set it as a background image outside of the canvas using CSS.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@mwmwmw
Comment options

@janrembold
Comment options

@janrembold
Comment options

@janrembold
Comment options

@mwmwmw
Comment options

Answer selected by janrembold
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants