React-google-maps: Question on click re center map on marker

Created on 10 Aug 2017  路  3Comments  路  Source: tomchentw/react-google-maps

Hello,

is it possible to re-center the map on a given marker or position
i want to do it to following a moving marker.

Thx for your works it's great !

Most helpful comment

@madbean Can you tell me where that example is? the link is down

All 3 comments

It's definitely possible :) there are numerous ways to implement this and the one that I use is passing the center down as props and handling the change in behavior one level out.

Hello thx for your response,

it's working !

finally this demo fixed my question 馃憤
https://tomchentw.github.io/react-google-maps/events/simple-click-event

really good, bye

@madbean Can you tell me where that example is? the link is down

Was this page helpful?
0 / 5 - 0 ratings

Related issues

farhan687 picture farhan687  路  3Comments

bossbossk20 picture bossbossk20  路  3Comments

PaulieScanlon picture PaulieScanlon  路  3Comments

manoj150283 picture manoj150283  路  3Comments

EvHaus picture EvHaus  路  3Comments