Hi Jackie,

yes, I think I misunderstood the concept. Things are much clearer now,

Thank you for your replies,

Rob


-----Ursprüngliche Nachricht-----
Von: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] Im Auftrag von Jackie Ng
Gesendet: Mittwoch, 18. Februar 2015 04:05
An: mapguide-users@lists.osgeo.org
Betreff: Re: [mapguide-users] mapguide rest - bbox parameter with map?

I think you might be misunderstanding the purpose of the image representation 
in restcfg.json

Features will *always* be selected in the image representation. This is by 
design. The intention behind the image representation is to show where your
feature(s) are in relation to the map specified in restcfg.json, and we do that 
by showing such features as selected on the map. GeoREST follows this same 
idea. Your feature(s) are the centre of attention, not the map.

If you are just after an image of a map at a certain view, then you can just 
use the image representation of the map definition:

eg.
http://localhost/mapguide/rest/library/Testing/report/AV_Vorlage.MapDefinition/image.png?x=YOUR_CENTER_X&y=YOUR_CENTER_Y&scale=YOUR_SCALE&width=YOUR_IMAGE_WIDTH&height=YOUR_IMAGE_HEIGHT

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/mapguide-rest-bbox-parameter-with-map-tp5187340p5188279.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to