planetfederal / gxp

High level components for GeoExt based applications.
http://boundlessgeo.com/
Other
84 stars 97 forks source link

map properties dialog: wrap dateline, number of zoom levels and background color #122

Closed bartvde closed 12 years ago

bartvde commented 12 years ago

I guess we still need a way to specify the defaults on the viewer, should we use map->wrapDateLine and map->numZoomLevels or wrap them in map->baseLayerConfig ?

ahocevar commented 12 years ago

One thought: if you set the background color on the base layer's div instead of the MapPanel's body, we would have everything in one place. Regarding the baseLayerConfig, I like map->wrapDateLine and map->numZoomLevels better.

In addition to these settings, would it make sense to add an option to set a restrictedExtent?

Finally I'm wondering how we could have a "None" base layer without adding another blank layer. Maybe with a config option on the LayerTree plugin, something like "showNoneBaseMap"? This would then be a plain treenode that cannot be deleted.

bartvde commented 12 years ago

@ahocevar Wrt the LayerTree change, this is less trivial than I thought it was, so I'll mark it as a TODO if that's okay with you? I think we can add restrictedExtent when the need for this arises or not?

ahocevar commented 12 years ago

Yes, add a TODO for the layer tree change, and let's do restrictedExtent when we need it. Thanks for your work on this!

bartvde commented 12 years ago

Wrt the TODO, I've opened up #123 for this.