Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I do not know if this runs against the grain of OpenLayers ideology, but it would be nice if end users had a choice over which UI they receive. E.G. Someone may want the default google controls on a public gmap, but mantain OpenLayers UI on their internal maps.
I think this would be a great interface feature, but I am also curious is there any way to accomplish this programatically?
Comments
Comment #1
entrigan CreditAttribution: entrigan commentedComment #2
tmcw CreditAttribution: tmcw commentedI don't understand quite how this runs against the grain of the OpenLayers ideology, but... there's documentation in docs/CUSTOMIZING.txt that describes how to change the images for the controls on the map. You can easily emulate Google Maps with a new set of images and probably a bit of CSS customization. There isn't going to be any mixing of the actual OpenLayers and Google Maps controls because that doesn't make any sense code-wise - OpenLayers doesn't do that because that would be terribly complex code-wise and would achieve no real effect.
Comment #3
entrigan CreditAttribution: entrigan commentedThanks for the info.