Hi, im kinda new to mapguide programming, im using MapGuide 6.5 viewer. My application builds a route beginning from a start point to an end point. After several calculations and database queries, the route coordinates are sent to mapguide. The route is drawn in a layer called "ROUTE".
I guess this is somehow the code, please correct me if im wrong
The route is already selected automatically after its creation, after that, there is a button which calls this function.
var map = getMap();
var buffer_layer = map.viewBuffer();
..... customizing buffer
var map_selection = map.getSelection();
var buffer_feature = buffer_layer.getMapObject(); <---which is the key for the buffer object?
map.selectWithin(); <---I dont know which are the arguments for this function
so far, thats what ive figured out, i wonder if you could please give me a hand with this. thanks in advance.