[mapguide-users] Creation of a FeatureSource
jerome.duckers
jerome.duckers at gmail.com
Mon Sep 10 12:43:43 PDT 2012
Hi Gordon,
Thanks
You have right. If i change to Library => the data is correctly created in
Maestro, and everything is good.
The Layer is drawing.
I see that in my layerTemplate, it was :
<ResourceId>Library://{0}.FeatureSource</ResourceId>
I think that's the reason why i did'nt see the draw in my map.
So, i try to replace the
<ResourceId>Library://{0}.FeatureSource</ResourceId>
by
<ResourceId>Session:{0}//{1}.FeatureSource</ResourceId>
// where {0} is the sessionId
{1} the name
but nothing on screen :(
I am always searching.
2012/9/10 GordonL [via OSGeo.org] <ml-node+s1560n5000824h17 at n6.nabble.com>
> I tend to create permanent Library connections and layers when debugging,
> so i can debug them in Maestro.
>
> change your lines where you have 'Session' to Library
>
> string resourceId = string.Format("Session:{0}//{ 1}" ,sessionId, name);
>
> string resourceId = string.Format("Library://{0}", name);
>
> for example.
>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://osgeo-org.1560.n6.nabble.com/Creation-of-a-FeatureSource-tp5000822p5000824.html
> To unsubscribe from Creation of a FeatureSource, click here<http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5000822&code=amVyb21lLmR1Y2tlcnNAZ21haWwuY29tfDUwMDA4MjJ8LTE4NTExNzM3MzI=>
> .
> NAML<http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Creation-of-a-FeatureSource-tp5000822p5000927.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/20120910/c8d0d82a/attachment.html>
More information about the mapguide-users
mailing list