[mapguide-users] SV: SV: SV: Can't select features using commercial overlays

Peter von Barth peter.vonbarth at eon.se
Tue Feb 22 06:15:08 EST 2011


<MapSet xsi:type="MapSetType">
    <MapGroup id="Klasser" xsi:type="MapType">
      <Map xsi:type="MapGuideLayerType">
        <Type>MapGuide</Type>
        <SingleTile>true</SingleTile>
        <Extension>
          <ResourceId>Library://Samples/Google/google.MapDefinition</ResourceId>
         <ImageFormat>PNG8</ImageFormat>
          <SelectionAsOverlay>true</SelectionAsOverlay>
          <SelectionFormat>PNG</SelectionFormat>
          <SelectionColor>0xFF0000FF</SelectionColor>

          <Options>
            <isBaseLayer>false</isBaseLayer>
            <userOverlay>true</userOverlay>
            <projection>EPSG:900913</projection>
          </Options>
        </Extension>
      </Map>
<Map>
        <Type>Google</Type>
        <SingleTile>true</SingleTile>
        <Extension>
          <ResourceId>google</ResourceId>
          <Options>
            <name>Google Hybrid</name>
            <type>G_HYBRID_MAP</type>
          </Options>
        </Extension>
      </Map>
</MapGroup>

  </MapSet>

Från: zspitzer [via OSGeo.org] [mailto:ml-node+6051927-1479516938-314974 at n2.nabble.com]
Skickat: den 22 februari 2011 12:10
Till: Von Barth, Peter
Ämne: Re: SV: SV: Can't select features using commercial overlays

i can't download your app def, can you post just the map group section?

but like I said before, if it's a bug, this will only be fixed in the
latest version,
fusion has changed quite a lot since 2.1

z

On Tue, Feb 22, 2011 at 9:44 PM, Peter von Barth <[hidden email]</user/SendEmail.jtp?type=node&node=6051927&i=0>> wrote:

>
> one more try.
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd">
> <html>
> <head>
>
> <title>EON MapServer</title>
>
> <meta http-equiv="Content-type" content="text/html; charset=UTF-8">
> <script
> src="http://api.maps.yahoo.com/ajaxymap?v=3.0&appid=XTe_dDTV34GFsx8sj3w_4qL76z6iBUbb2aDtNVomGFqmPvHGJZcPgxXonL5r0o26upg1Vg--"></script>
> <script
> src="http://maps.google.com/maps?file=api&v=2&sensor=false&key=ABQIAAAAPrUgD2WqQisUBUMCKnkU4xSVrovqgKLmREEerE6ydUcQmn1bWRRVk_HRx5hbgGGAMBOXKn99Z9iU8Q"
> type="text/javascript"></script>
> <script
> src='http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.1'></script>
> <script type="text/javascript"
> src="../../../lib/fusionSF-compressed.js"></script>
> <link rel="stylesheet" href="jxtheme.css" type="text/css" media="screen"
> charset="utf-8">
> <!--[if lte IE 6]>
> <link rel="stylesheet" href="ie6.css" type="text/css" media="screen"
> charset="utf-8">
> <![endif]-->
> <!--[if IE 7]>
> <link rel="stylesheet" href="ie7.css" type="text/css" media="screen"
> charset="utf-8">
> <![endif]-->
> <link rel="stylesheet" href="icons.css" type="text/css" media="screen"
> charset="utf-8">
>
> <script type="text/javascript">
>
> var panel1;
> var panel2;
> var panel3;
> var panel4;
> var panelman;
>
> window.onload = function() {
>    Fusion.initializeLocale();  //need to call this first if
> String.Translate is to be used in the onload
>
>    var main = new Jx.Layout('AppContainer');
>    new Jx.Layout('FileMenu', {
>        left: 5,
>        right: 5,
>        top: 5,
>        height: 25
>    });
>    new Jx.Layout('Toolbar', {
>        left: 5,
>        right: 5,
>        top: 30,
>        height: 24
>    });
>    new Jx.Layout('ToolbarVertical', {
>        left: 5,
>        width: 28,
>        top: 54,
>        bottom: 21
>    });
>    new Jx.Layout('SplitterArea', {
>        left: 33,
>        top: 54,
>        right: 5,
>        bottom: 22
>    });
>
>    new Jx.Layout('MapArea');
>    new Jx.Layout('Map');
>
>    new Jx.Layout('StatusbarContainer', {
>        height: 22,
>        bottom: 0,
>        top: null
>    });
>    new Jx.Layout('Statusbar', {
>        right: 159
>    });
>
>    var splitter = new Jx.Splitter('SplitterArea', {
>        splitInto:2,
>        elements:[$('MapArea'),$('Sidebar')],
>        layout:'horizontal',
>        containerOptions: [{},{minWidth:8, width: 218}],
>        barOptions: [
>            {
>                snap: 'after',
>                snapElement: $('SidebarCollapse'),
>                snapEvents: ['click']
>            }
>        ]
>    });
>
>  /* create dynamic content */
>  panel1 = new Jx.Panel({
>      label: OpenLayers.i18n('legendTitle'),
>      collapse: false,
>      maximize: true,
>      contentId: 'Legend'});
>  panel1.content.id = 'Legend';
>
>  panel2 = new Jx.Panel({
>      label: OpenLayers.i18n('selectionPanelTitle'),
>      collapse: false,
>      maximize: true,
>      contentId: 'SelectionPanel'});
>
>  panel3 = new Jx.Panel({
>      label: OpenLayers.i18n('taskPaneTitle'),
>      collapse: false,
>      maximize: true,
>      contentId: 'TaskPane'});
>
>  panel4 = new Jx.Panel({
>      label: OpenLayers.i18n('ovmapTitle'),
>      collapse: false,
>      maximize: true,
>      contentId: 'OverviewMap'});
>
>  panelman = new Jx.PanelSet({parent: splitter.elements[1], panels: [panel1,
> panel2, panel3, panel4]});
>
>  main.resize();
>
>  Fusion.registerForEvent(Fusion.Event.FUSION_INITIALIZED,
> fusionInitialized);
>  Fusion.registerForEvent(Fusion.Event.FUSION_ERROR, fusionError);
>  Fusion.initialize();
> }
>
> var fusionError = function(eventId, error) {
>    alert('Fusion Error: \n' + error.toString());
>    //console.log('Fusion Error: \n' + error.toString());
> }
>
> var fusionInitialized = function() {
>    $('AppContainer').resize({forceResize: true});
> }
>
> var showOverviewMap = function() {
>  panelman.maximizePanel(panel4);
> }
>
> var showTaskPane = function() {
>  panelman.maximizePanel(panel3);
> }
>
> var showLegend = function() {
>  panelman.maximizePanel(panel1);
> }
>
> var showSelectionPanel = function() {
>  panelman.maximizePanel(panel2);
> }
>
> </script>
>
> </head>
>
> <body>
>
> <div id="AppContainer">
>
>  <div id="FileMenu"></div>
>
>  <div id="SplitterArea">
>    <div id="MapArea">
>      <div id="Map"></div>
>      <div id="Navigator"></div>
>    </div>
>    <div id="Sidebar">
>      <!-- Collapse Sidebar -->
>      <div id="SidebarCollapse">
>           #
>      </div>
>    </div>
>  </div>
>
>  <div id="Toolbar"></div>
>  <div id="ToolbarVertical"></div>
>  <div id="StatusbarContainer">
>    <div id="Statusbar"></div>
>    <div id="pbmg"> images/pbmg.gif </div>
>  </div>
>
> </div>
>
> <div id="Maptip"></div>
>
> </body>
> </html>
>
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Can-t-select-features-using-commercial-overlays-tp6023133p6051867.html<http://osgeo-org.1803224.n2.nabble.com/Can-t-select-features-using-commercial-overlays-tp6023133p6051867.html?by-user=t>
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> _______________________________________________
> mapguide-users mailing list
> [hidden email]</user/SendEmail.jtp?type=node&node=6051927&i=1>
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>



--
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168
_______________________________________________
mapguide-users mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=6051927&i=2>
http://lists.osgeo.org/mailman/listinfo/mapguide-users

________________________________
If you reply to this email, your message will be added to the discussion below:
http://osgeo-org.1803224.n2.nabble.com/Can-t-select-features-using-commercial-overlays-tp6023133p6051927.html
To unsubscribe from Can't select features using commercial overlays, click here<http://osgeo-org.1803224.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=6023133&code=cGV0ZXIudm9uYmFydGhAZW9uLnNlfDYwMjMxMzN8MTIyNTA1NjUy>.

-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Can-t-select-features-using-commercial-overlays-tp6023133p6051946.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20110222/6d0ba0d2/attachment.html


More information about the mapguide-users mailing list