[fusion-trac] #17: Auto-detect map object type

Fusion trac_fusion at osgeo.org
Fri Mar 7 11:32:25 EST 2008


#17: Auto-detect map object type
-------------------------+--------------------------------------------------
 Reporter:  jfournier    |         Owner:  madair
     Type:  enhancement  |        Status:  new   
 Priority:  P2           |     Milestone:  1.1   
Component:  Core         |       Version:  1.0.2 
 Severity:  Major        |    Resolution:        
 Keywords:               |   External_id:        
    State:  New          |       Browser:  All   
       Os:  All          |  
-------------------------+--------------------------------------------------
Old description:

> With the new !ApplicationDefinition structure, each !WidgetSet
> corresponds to a single map object, which may refer to a Map by id. A Map
> contains Layer tags that each have a type that corresponds to an
> OpenLayers! type. Right now, the Map widget in the !WidgetSet is still
> one of MGMap or MSMap. We'll need to make changes, at some point, to grab
> the layers from the Map and create the right !OpenLayers Layer objects
> for them. I'd also like to consider how we could expose some sort of API
> to simplify (or make possible) adding a new Layer at runtime.

New description:

 With the new !ApplicationDefinition structure, each !WidgetSet corresponds
 to a single map object, which may refer to a Map by id. A Map contains
 Layer tags that each have a type that corresponds to an !OpenLayers type.
 Right now, the Map widget in the !WidgetSet is still one of MGMap or
 MSMap. We'll need to make changes, at some point, to grab the layers from
 the Map and create the right !OpenLayers Layer objects for them. I'd also
 like to consider how we could expose some sort of API to simplify (or make
 possible) adding a new Layer at runtime.

-- 
Ticket URL: <http://trac.osgeo.org/fusion/ticket/17#comment:1>
Fusion <http://trac.osgeo.org/fusion>
Fusion is a web-mapping application development framework for MapServer, MapGuide OS, and MapGuide Enterprise built primarily in JavaScript.


More information about the fusion-trac mailing list