14.01.2013 Views

Developer's Guide - MapGuide Open Source - OSGeo

Developer's Guide - MapGuide Open Source - OSGeo

Developer's Guide - MapGuide Open Source - OSGeo

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Creating A Layer<br />

$sdfParams = new MgCreateSdfParams("ArbitraryXY",<br />

$wkt, $featureSchema);<br />

$featureService->CreateFeature<strong>Source</strong>($resourceIdentifier,<br />

$sdfParams);<br />

The final step is to create a new layer to display the feature source, the same<br />

way it was done in Adding Layers To A Map (page 67).<br />

94 | Chapter 6 Digitizing and Redlining

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!