|
|
|
Arthur Liu
|
Some javascript/style in this post has been disabled (why?)
Hi, Would you please review the patch for ticket 271( http://trac.osgeo.org/fusion/ticket/271
) at http://trac.osgeo.org/fusion/attachment/ticket/271/BasemapSwitcher.patch
? Description : Currently, fusion support Google, Yahoo and Virtual Earth
services as basemaps shown behind the overlaid MapGuide layers. However there's
no proper widget to switch basemaps in MapGuide. That means there's no way for
end-user to change the basemaps. This widget will help end-user to control the
commercial base maps(turn on/off commercial basemaps or switch the basemaps). Thanks, Arthur _______________________________________________ fusion-dev mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/fusion-dev |
||||||||||||||||
|
Jason Birch
|
Some javascript/style in this post has been disabled (why?)
I unfortunately don't really
understand the code, so this might be a stupid question. With this control, does it allow
the map developer to configure a set of basemaps including both MapGuide tiled
maps and commercial maps, and switch between them? For instance, could I
present the user with a choice of the following base maps via this control? - Satellite (by Google) - Composite (by Google) - Parcels (mine) With MapGuide tile layers, it's
not really sustainable to keep them in the same map as untiled layers (any
changes to the untiled layers triggers a cache rebuild) so it would be nice to
be able to define both a MapGuide single tile overlay and a MapGuide base map
as separate items. Jason From: [hidden email]
[mailto:[hidden email]] On Behalf Of Arthur Liu Hi, Would you please review the patch for
ticket 271( http://trac.osgeo.org/fusion/ticket/271
) at http://trac.osgeo.org/fusion/attachment/ticket/271/BasemapSwitcher.patch
? Description : Currently, fusion support Google, Yahoo and
Virtual Earth services as basemaps shown behind the overlaid MapGuide layers.
However there's no proper widget to switch basemaps in MapGuide. That means
there's no way for end-user to change the basemaps. This widget will help
end-user to control the commercial base maps(turn on/off commercial basemaps or
switch the basemaps). Thanks, Arthur _______________________________________________ fusion-dev mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/fusion-dev |
||||||||||||||||
|
Arthur Liu
|
Some javascript/style in this post has been disabled (why?)
Hi Jason, Thanks for your comment. Actually,
the controls items would be : - Satellite (by
Google) - Composite (by
Google) - None If the user selected the “None”
item, the MapGuide map will be set as basemap, and it just looked like the original
MapGuide map without any commercial maps. I am not sure if I totally understand
your question, if not, please point it out. Thanks, Arthur From: Jason Birch
[mailto:[hidden email]] I unfortunately don't
really understand the code, so this might be a stupid question. With this control,
does it allow the map developer to configure a set of basemaps including both
MapGuide tiled maps and commercial maps, and switch between them? For
instance, could I present the user with a choice of the following base maps via
this control? - Satellite (by
Google) - Composite (by
Google) - Parcels
(mine) With MapGuide tile
layers, it's not really sustainable to keep them in the same map as untiled
layers (any changes to the untiled layers triggers a cache rebuild) so it would
be nice to be able to define both a MapGuide single tile overlay and a MapGuide
base map as separate items. Jason From:
[hidden email] [mailto:[hidden email]] On
Behalf Of Arthur Liu Hi, Would you please review the patch for ticket 271( http://trac.osgeo.org/fusion/ticket/271
) at http://trac.osgeo.org/fusion/attachment/ticket/271/BasemapSwitcher.patch
? Description : Currently, fusion support Google, Yahoo and Virtual Earth
services as basemaps shown behind the overlaid MapGuide layers. However there's
no proper widget to switch basemaps in MapGuide. That means there's no way for
end-user to change the basemaps. This widget will help end-user to control the
commercial base maps(turn on/off commercial basemaps or switch the basemaps). Thanks, Arthur _______________________________________________ fusion-dev mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/fusion-dev |
||||||||||||||||
|
Jason Birch
|
For my users, "None" just wouldn't make sense. They don't understand what a base map is, and would want an easy to use chooser. This is what I would ideally like to be able to do:
"Satellite" (Google) "Streets" (MapGuide map definition with tile layers only) "Parcels" (MapGuide map definition with tile layers only) On top of this base map choice, I would layer a MapGuide dynamic/singleTile map. Combining tile layers into a dynamic MapGuide map is dangerous, and limits you from having multiple mapguide-based tile map sources in the same map. Jason ________________________________ From: Arthur Liu [[hidden email]] Sent: Tuesday, July 28, 2009 10:17 PM To: Jason Birch; [hidden email] Subject: RE: [fusion-dev] Patch for #271 http://trac.osgeo.org/fusion/attachment/ticket/271/BasemapSwitcher.patch review Hi Jason, Thanks for your comment. Actually, the controls items would be : - Satellite (by Google) - Composite (by Google) - None If the user selected the “None” item, the MapGuide map will be set as basemap, and it just looked like the original MapGuide map without any commercial maps. I am not sure if I totally understand your question, if not, please point it out. Thanks, Arthur From: Jason Birch [mailto:[hidden email]] Sent: Tuesday, July 28, 2009 11:11 PM To: [hidden email] Cc: Arthur Liu Subject: RE: [fusion-dev] Patch for #271 http://trac.osgeo.org/fusion/attachment/ticket/271/BasemapSwitcher.patch review I unfortunately don't really understand the code, so this might be a stupid question. With this control, does it allow the map developer to configure a set of basemaps including both MapGuide tiled maps and commercial maps, and switch between them? For instance, could I present the user with a choice of the following base maps via this control? - Satellite (by Google) - Composite (by Google) - Parcels (mine) With MapGuide tile layers, it's not really sustainable to keep them in the same map as untiled layers (any changes to the untiled layers triggers a cache rebuild) so it would be nice to be able to define both a MapGuide single tile overlay and a MapGuide base map as separate items. Jason From: [hidden email] [mailto:[hidden email]] On Behalf Of Arthur Liu Sent: Monday, July 27, 2009 8:29 PM To: [hidden email] Subject: [fusion-dev] Patch for #271 http://trac.osgeo.org/fusion/attachment/ticket/271/BasemapSwitcher.patch review Hi, Would you please review the patch for ticket 271( http://trac.osgeo.org/fusion/ticket/271 ) at http://trac.osgeo.org/fusion/attachment/ticket/271/BasemapSwitcher.patch ? Description : Currently, fusion support Google, Yahoo and Virtual Earth services as basemaps shown behind the overlaid MapGuide layers. However there's no proper widget to switch basemaps in MapGuide. That means there's no way for end-user to change the basemaps. This widget will help end-user to control the commercial base maps(turn on/off commercial basemaps or switch the basemaps). Thanks, Arthur _______________________________________________ fusion-dev mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/fusion-dev |
||||||||||||||||
|
Chris Claydon
|
Hi Jason,
Does the current version of Fusion support using a dynamic MapGuide layer overlaid on a tiled MapGuide layer (and does it work correctly)? Arthur, Looking at the widget code, if there are two or more MapGuide maps involved, choosing "None" will always set the one that is defined last to be the base map. This may not be the desired behavior. Instead of using "None" could we use the name of the MapGuide map? It seems we use the map name for the other base maps already. It would be nice to be able to define the labels that are used for these options as part of the widget configuration. Is that a possibility? It seems like you could probably achieve the same result by adjusting the map names in the widget definition XML, so maybe there's a workaround. Also, there are quite a few unlocalized strings defined in the widget. Would it be possible to localize them? One of the DM Solns developers may be able to advise how to do this, if it's possible. Chris. -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Jason Birch Sent: Wednesday, July 29, 2009 6:27 PM To: Arthur Liu; [hidden email] Subject: RE: [fusion-dev] Patch for #271 http://trac.osgeo.org/fusion/attachment/ticket/271/BasemapSwitcher.patch review For my users, "None" just wouldn't make sense. They don't understand what a base map is, and would want an easy to use chooser. This is what I would ideally like to be able to do: "Satellite" (Google) "Streets" (MapGuide map definition with tile layers only) "Parcels" (MapGuide map definition with tile layers only) On top of this base map choice, I would layer a MapGuide dynamic/singleTile map. Combining tile layers into a dynamic MapGuide map is dangerous, and limits you from having multiple mapguide-based tile map sources in the same map. Jason ________________________________ From: Arthur Liu [[hidden email]] Sent: Tuesday, July 28, 2009 10:17 PM To: Jason Birch; [hidden email] Subject: RE: [fusion-dev] Patch for #271 http://trac.osgeo.org/fusion/attachment/ticket/271/BasemapSwitcher.patch review Hi Jason, Thanks for your comment. Actually, the controls items would be : - Satellite (by Google) - Composite (by Google) - None If the user selected the "None" item, the MapGuide map will be set as basemap, and it just looked like the original MapGuide map without any commercial maps. I am not sure if I totally understand your question, if not, please point it out. Thanks, Arthur From: Jason Birch [mailto:[hidden email]] Sent: Tuesday, July 28, 2009 11:11 PM To: [hidden email] Cc: Arthur Liu Subject: RE: [fusion-dev] Patch for #271 http://trac.osgeo.org/fusion/attachment/ticket/271/BasemapSwitcher.patch review I unfortunately don't really understand the code, so this might be a stupid question. With this control, does it allow the map developer to configure a set of basemaps including both MapGuide tiled maps and commercial maps, and switch between them? For instance, could I present the user with a choice of the following base maps via this control? - Satellite (by Google) - Composite (by Google) - Parcels (mine) With MapGuide tile layers, it's not really sustainable to keep them in the same map as untiled layers (any changes to the untiled layers triggers a cache rebuild) so it would be nice to be able to define both a MapGuide single tile overlay and a MapGuide base map as separate items. Jason From: [hidden email] [mailto:[hidden email]] On Behalf Of Arthur Liu Sent: Monday, July 27, 2009 8:29 PM To: [hidden email] Subject: [fusion-dev] Patch for #271 http://trac.osgeo.org/fusion/attachment/ticket/271/BasemapSwitcher.patch review Hi, Would you please review the patch for ticket 271( http://trac.osgeo.org/fusion/ticket/271 ) at http://trac.osgeo.org/fusion/attachment/ticket/271/BasemapSwitcher.patch ? Description : Currently, fusion support Google, Yahoo and Virtual Earth services as basemaps shown behind the overlaid MapGuide layers. However there's no proper widget to switch basemaps in MapGuide. That means there's no way for end-user to change the basemaps. This widget will help end-user to control the commercial base maps(turn on/off commercial basemaps or switch the basemaps). Thanks, Arthur _______________________________________________ fusion-dev mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/fusion-dev _______________________________________________ fusion-dev mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/fusion-dev |
||||||||||||||||
|
Arthur Liu
|
Thanks for your replay.
Actually, the purpose to provide this widget is just switch between the commercial layers and close all the commercial layers. I have some confusion about the concept of Basemap. And this is my understanding, if there're any stupid errors please point them out . 1. Only the tiled map can be the basemap, which means the maps which contains only dynamic layers can't be the basemap. So, the BasemapSwitcher must shown all the tiled maps and commercial maps. Could user close all the basemaps and show dynamic maps only?(that's why there's a None item in the widget) 2. Since tiled map is a basemap, so the tiled map and commercial maps cannot shown at the same time. 3. How can I distinguish tiled maps and normal maps in application definition's map group tag? The only different I can see is the <SingleTile> tag. For tiled map, it's false, and for normal map, it's true. Regards, Arthur -----Original Message----- From: Chris Claydon Sent: Friday, July 31, 2009 6:12 AM To: Jason Birch; Arthur Liu; [hidden email] Subject: RE: [fusion-dev] Patch for #271 http://trac.osgeo.org/fusion/attachment/ticket/271/BasemapSwitcher.patch review Hi Jason, Does the current version of Fusion support using a dynamic MapGuide layer overlaid on a tiled MapGuide layer (and does it work correctly)? Arthur, Looking at the widget code, if there are two or more MapGuide maps involved, choosing "None" will always set the one that is defined last to be the base map. This may not be the desired behavior. Instead of using "None" could we use the name of the MapGuide map? It seems we use the map name for the other base maps already. It would be nice to be able to define the labels that are used for these options as part of the widget configuration. Is that a possibility? It seems like you could probably achieve the same result by adjusting the map names in the widget definition XML, so maybe there's a workaround. Also, there are quite a few unlocalized strings defined in the widget. Would it be possible to localize them? One of the DM Solns developers may be able to advise how to do this, if it's possible. Chris. -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Jason Birch Sent: Wednesday, July 29, 2009 6:27 PM To: Arthur Liu; [hidden email] Subject: RE: [fusion-dev] Patch for #271 http://trac.osgeo.org/fusion/attachment/ticket/271/BasemapSwitcher.patch review For my users, "None" just wouldn't make sense. They don't understand what a base map is, and would want an easy to use chooser. This is what I would ideally like to be able to do: "Satellite" (Google) "Streets" (MapGuide map definition with tile layers only) "Parcels" (MapGuide map definition with tile layers only) On top of this base map choice, I would layer a MapGuide dynamic/singleTile map. Combining tile layers into a dynamic MapGuide map is dangerous, and limits you from having multiple mapguide-based tile map sources in the same map. Jason ________________________________ From: Arthur Liu [[hidden email]] Sent: Tuesday, July 28, 2009 10:17 PM To: Jason Birch; [hidden email] Subject: RE: [fusion-dev] Patch for #271 http://trac.osgeo.org/fusion/attachment/ticket/271/BasemapSwitcher.patch review Hi Jason, Thanks for your comment. Actually, the controls items would be : - Satellite (by Google) - Composite (by Google) - None If the user selected the "None" item, the MapGuide map will be set as basemap, and it just looked like the original MapGuide map without any commercial maps. I am not sure if I totally understand your question, if not, please point it out. Thanks, Arthur From: Jason Birch [mailto:[hidden email]] Sent: Tuesday, July 28, 2009 11:11 PM To: [hidden email] Cc: Arthur Liu Subject: RE: [fusion-dev] Patch for #271 http://trac.osgeo.org/fusion/attachment/ticket/271/BasemapSwitcher.patch review I unfortunately don't really understand the code, so this might be a stupid question. With this control, does it allow the map developer to configure a set of basemaps including both MapGuide tiled maps and commercial maps, and switch between them? For instance, could I present the user with a choice of the following base maps via this control? - Satellite (by Google) - Composite (by Google) - Parcels (mine) With MapGuide tile layers, it's not really sustainable to keep them in the same map as untiled layers (any changes to the untiled layers triggers a cache rebuild) so it would be nice to be able to define both a MapGuide single tile overlay and a MapGuide base map as separate items. Jason From: [hidden email] [mailto:[hidden email]] On Behalf Of Arthur Liu Sent: Monday, July 27, 2009 8:29 PM To: [hidden email] Subject: [fusion-dev] Patch for #271 http://trac.osgeo.org/fusion/attachment/ticket/271/BasemapSwitcher.patch review Hi, Would you please review the patch for ticket 271( http://trac.osgeo.org/fusion/ticket/271 ) at http://trac.osgeo.org/fusion/attachment/ticket/271/BasemapSwitcher.patch ? Description : Currently, fusion support Google, Yahoo and Virtual Earth services as basemaps shown behind the overlaid MapGuide layers. However there's no proper widget to switch basemaps in MapGuide. That means there's no way for end-user to change the basemaps. This widget will help end-user to control the commercial base maps(turn on/off commercial basemaps or switch the basemaps). Thanks, Arthur _______________________________________________ fusion-dev mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/fusion-dev _______________________________________________ fusion-dev mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/fusion-dev |
||||||||||||||||
|
Zak James-2
|
Arthur,
Any map can be a base map, the only limitation is that there can only be one layer marked as the base map at once. Single Tile map layers can be the base layer, so when your widget has 'None' selected, the SingleTile MapGuide map is the base layer. Your assertion in 2. is also false - there's nothing to stop a commercial layer and any number of other tiled layers from being displayed at the same time. zak -- Zak James Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca http://research.dmsolutions.ca On 30 Jul 2009, at 23:20, Arthur Liu wrote: > Thanks for your replay. > > Actually, the purpose to provide this widget is just switch between > the commercial layers and close all the commercial layers. > > I have some confusion about the concept of Basemap. And this is my > understanding, if there're any stupid errors please point them out . > > 1. Only the tiled map can be the basemap, which means the maps which > contains only dynamic layers can't be the basemap. So, the > BasemapSwitcher must shown all the tiled maps and commercial maps. > Could user close all the basemaps and show dynamic maps only?(that's > why there's a None item in the widget) > > 2. Since tiled map is a basemap, so the tiled map and commercial > maps cannot shown at the same time. > > 3. How can I distinguish tiled maps and normal maps in application > definition's map group tag? The only different I can see is the > <SingleTile> tag. For tiled map, it's false, and for normal map, > it's true. > > Regards, > Arthur > > -----Original Message----- > From: Chris Claydon > Sent: Friday, July 31, 2009 6:12 AM > To: Jason Birch; Arthur Liu; [hidden email] > Subject: RE: [fusion-dev] Patch for #271 http://trac.osgeo.org/fusion/attachment/ticket/271/BasemapSwitcher.patch > review > > Hi Jason, > > Does the current version of Fusion support using a dynamic MapGuide > layer overlaid on a tiled MapGuide layer (and does it work correctly)? > > Arthur, > > Looking at the widget code, if there are two or more MapGuide maps > involved, choosing "None" will always set the one that is defined > last to be the base map. This may not be the desired behavior. > > Instead of using "None" could we use the name of the MapGuide map? > It seems we use the map name for the other base maps already. It > would be nice to be able to define the labels that are used for > these options as part of the widget configuration. Is that a > possibility? It seems like you could probably achieve the same > result by adjusting the map names in the widget definition XML, so > maybe there's a workaround. > > Also, there are quite a few unlocalized strings defined in the > widget. Would it be possible to localize them? One of the DM Solns > developers may be able to advise how to do this, if it's possible. > > Chris. > > -----Original Message----- > From: [hidden email] [mailto:[hidden email] > ] On Behalf Of Jason Birch > Sent: Wednesday, July 29, 2009 6:27 PM > To: Arthur Liu; [hidden email] > Subject: RE: [fusion-dev] Patch for #271 http://trac.osgeo.org/fusion/attachment/ticket/271/BasemapSwitcher.patch > review > > For my users, "None" just wouldn't make sense. They don't > understand what a base map is, and would want an easy to use > chooser. This is what I would ideally like to be able to do: > > "Satellite" (Google) > "Streets" (MapGuide map definition with tile layers only) > "Parcels" (MapGuide map definition with tile layers only) > > On top of this base map choice, I would layer a MapGuide dynamic/ > singleTile map. > > Combining tile layers into a dynamic MapGuide map is dangerous, and > limits you from having multiple mapguide-based tile map sources in > the same map. > > Jason > > ________________________________ > From: Arthur Liu [[hidden email]] > Sent: Tuesday, July 28, 2009 10:17 PM > To: Jason Birch; [hidden email] > Subject: RE: [fusion-dev] Patch for #271 http://trac.osgeo.org/fusion/attachment/ticket/271/BasemapSwitcher.patch > review > > Hi Jason, > > Thanks for your comment. Actually, the controls items would be : > > - Satellite (by Google) > - Composite (by Google) > - None > > If the user selected the "None" item, the MapGuide map will be set > as basemap, and it just looked like the original MapGuide map > without any commercial maps. > I am not sure if I totally understand your question, if not, please > point it out. > > Thanks, > Arthur > > From: Jason Birch [mailto:[hidden email]] > Sent: Tuesday, July 28, 2009 11:11 PM > To: [hidden email] > Cc: Arthur Liu > Subject: RE: [fusion-dev] Patch for #271 http://trac.osgeo.org/fusion/attachment/ticket/271/BasemapSwitcher.patch > review > > I unfortunately don't really understand the code, so this might be a > stupid question. > > With this control, does it allow the map developer to configure a > set of basemaps including both MapGuide tiled maps and commercial > maps, and switch between them? For instance, could I present the > user with a choice of the following base maps via this control? > > - Satellite (by Google) > - Composite (by Google) > - Parcels (mine) > > With MapGuide tile layers, it's not really sustainable to keep them > in the same map as untiled layers (any changes to the untiled layers > triggers a cache rebuild) so it would be nice to be able to define > both a MapGuide single tile overlay and a MapGuide base map as > separate items. > > Jason > > > From: [hidden email] [mailto:[hidden email] > ] On Behalf Of Arthur Liu > Sent: Monday, July 27, 2009 8:29 PM > To: [hidden email] > Subject: [fusion-dev] Patch for #271 http://trac.osgeo.org/fusion/attachment/ticket/271/BasemapSwitcher.patch > review > > Hi, > > Would you please review the patch for ticket 271( http://trac.osgeo.org/fusion/ticket/271 > ) at http://trac.osgeo.org/fusion/attachment/ticket/271/BasemapSwitcher.patch > ? > > Description : > Currently, fusion support Google, Yahoo and Virtual Earth services > as basemaps shown behind the overlaid MapGuide layers. However > there's no proper widget to switch basemaps in MapGuide. That means > there's no way for end-user to change the basemaps. This widget will > help end-user to control the commercial base maps(turn on/off > commercial basemaps or switch the basemaps). > > Thanks, > Arthur > _______________________________________________ > fusion-dev mailing list > [hidden email] > http://lists.osgeo.org/mailman/listinfo/fusion-dev > _______________________________________________ > fusion-dev mailing list > [hidden email] > http://lists.osgeo.org/mailman/listinfo/fusion-dev _______________________________________________ fusion-dev mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/fusion-dev |
||||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |