[mapguide-users] Can Rest be used to Change a Session Map Coord System or Make a new Buffer layer?
Jackie Ng
jumpinjackie at gmail.com
Thu Oct 29 17:19:20 PDT 2015
The coordinate system of a map is always immutable. Nothing can be done about
this.
To create a feature source, do a POST to
/rest/library/:resourcePath.FeatureSource/json
OR
/rest/session/:sessionId/:resName.FeatureSource/json
And provide the JSON payload describing the feature source to create. As to
the structure of the JSON payload, I don't have a documented reference on
hand.
You could have a look at this method
https://github.com/jumpinjackie/mapguide-rest/blob/7fb3021b05afa0a0cf6cd4a108d469f56feb44bb/app/controller/featureservicecontroller.php#L348
And see what properties are being read from $json and infer the structure
from there.
- Jackie
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Can-Rest-be-used-to-Change-a-Session-Map-Coord-System-or-Make-a-new-Buffer-layer-tp5233400p5233446.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list