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.
The default controls for the OpenLayers interface are just not that good looking. The one thing about Google Maps is that the design is good and simple. We should make attractive, simple controls for this module that will be used by default.
Also note, that this might mean making some sort of control set management.
Comments
Comment #1
zzolo CreditAttribution: zzolo commentedI give up on this one for 1.0. It would be awesome to have, but just not worth the time given that the 2.x version has started. So, making this a feature for 2.x.
Comment #2
phayes CreditAttribution: phayes commentedI like how this is done in 0.x - example implementation can be found in managing news. I can port this to 1.x and 2.x
Basically it simply works by adding two extra options to the map array image_path, and css_path, which are then passed to the OpenLayers js map properties. The only thing it's not doing is passing it through the drupal theme layer, but i'm not sure what that might look like.
Comment #3
zzolo CreditAttribution: zzolo commentedJust to clarify my thoughts about this.
I think supporting the ability to do add more stylish controls is not that technically difficult. I want to actually see some stylish controls offered with this module. I think Managing News is a good example of what I would like to see.
In an ideal world, I would like to see it go a step further than what is in 0.x. I was more thinking of having a support for "themes". A "theme" being a set of controls and colors, maybe even styles. This would then be set in the preset interface.
Either way, I see this as more of a design task, then a programming.
Image path should already be in 1.x, I believe. Still, adding support for css_path is a good thing.
Comment #4
tmcw CreditAttribution: tmcw commentedThis is a duplicate of #685614: Interface Themes