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

entrigan’s picture

Version: 6.x-2.0-alpha3 » 6.x-2.x-dev
tmcw’s picture

I 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.

entrigan’s picture

Status: Active » Closed (works as designed)

Thanks for the info.