Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for external WMS layers #324

Closed
SoroTrestal opened this issue Aug 22, 2017 · 4 comments
Closed

Support for external WMS layers #324

SoroTrestal opened this issue Aug 22, 2017 · 4 comments
Assignees
Milestone

Comments

@SoroTrestal
Copy link

SoroTrestal commented Aug 22, 2017

Hi Jackie, is there an option available in the viewer to serve WMS layers directly (i.e. add them to open layers as a source instead of adding them in MapGuide as a raster layer).

@jumpinjackie jumpinjackie self-assigned this Aug 22, 2017
@jumpinjackie jumpinjackie added this to the 0.10 milestone Aug 22, 2017
@jumpinjackie
Copy link
Owner

Not at the moment, but this is actually a useful feature to have.

@jumpinjackie jumpinjackie modified the milestones: 0.11, 0.10 Aug 28, 2017
@jumpinjackie
Copy link
Owner

Moving back milestone

jumpinjackie added a commit that referenced this issue Oct 13, 2017
 - Refactor layer management functions out of IMapViewer into a new ILayerManager interface. In terms of implementation, farm off layer management to the MgLayerSet
 - Fix various places that broke with the above change.
 - Implement support for the removal of custom layers from the manage layers tab
jumpinjackie added a commit that referenced this issue Oct 13, 2017
@jumpinjackie
Copy link
Owner

Good news! I've got a basic UI in place for adding custom layers.

add-wms-layer

Initial focus will be for adding WMS (and possibly WFS) layers, which we'll then expand to cover additional vector and raster formats supported by OpenLayers

@jumpinjackie
Copy link
Owner

How to access this feature:

Add an InvokeURL command that has a URL of component://AddManageLayers

Example XML fragment to put into your Fusion widget set:

    <Widget xsi:type="UiWidgetType">
      <Name>AddManageLayers</Name>
      <Type>InvokeURL</Type>
      <Location />
      <Extension>
        <Target>TaskPane</Target>
        <Url>component://AddManageLayers</Url>
        <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
        <AdditionalParameter />
      </Extension>
      <ImageUrl />
      <ImageClass>layer_add</ImageClass>
      <Label>Add/Manage Layers</Label>
      <Tooltip />
      <StatusText />
      <Disabled>false</Disabled>
    </Widget>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants