drupal - Google Maps - Lock Position -


i use content management system (drupal) work website , wondering if there way lock google map position doesn't jar on place when user clicks on balloons? i'm aware there helpful suggestion here disable mouse scroll wheel zoom on embedded google maps can't manipulate javascript or css.

any give appreciated.

i think can add event listener listen event center_changed

there sample event example in documentation map listen center_changed , wait 3 seconds before recenter map.

i think can implement similar no time delay "lock" position of map.

you can refer documentation regarding center_changed here.


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -