Apart from the Width, Height and Zoom properties, Baidu Map actually provides many options that could be customized for the display of the Maps: Map Type, Map Style, Show traffic, Scroll Wheel, Draggable, Map Control Type, etc...

We could do an initial round to add many more properties supported by Baidu Maps for the customization in the display formatter form.
This would have to also be modified in the geofield_baidu_map.js file to instantiate the Baidu Map with the correct options upon display.

Please let me know if you would have any questions, objections, comments, suggestions, recommendations or concerns on any aspects of feature request, I would be glad to provide more information or explain in more details.

Any questions, feedback, testing, changes, ideas or recommendations would be highly appreciated.
Thanks to all in advance.

Comments

xiukun.zhou’s picture

Component: Code » User interface
Status: Active » Fixed

Quick follow-up on this feature request:

Added 8 more configuration settings: Default Map Type, Map Style, Show traffic option, Define the navigation controls, Enable scrollwheel zooming, Enable dragging on the map, Show map type control option, Show the map scale control option.

All of these settings have been tested on display and would seem to work as expected, so I went ahead and committed the changes against the 7.x-1.x branch at 4f6c6c8.

Since there is already a good amount of customization options, we might certainly come back to this ticket or create new issues in the future if more settings had to be removed/added/changed.

Therefore, I allowed myself to mark this issue as fixed for now, but feel free to re-open it, or post a new ticket, at any time if you have any further objections with this issue or related commit 4f6c6c8 (we would surely be happy to hear your feedback).

Please let me know if you would have any further comments, feedback, questions, issues, objections, suggestions or concerns on the commit or this feature request in general, I would be glad to provide more information or explain in more details.

Thanks in advance to everyone for your testing, reviews, feedback and comments on this issue.
Cheers!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.