* P1-style J (join)
* Doing a '-' to remove a point from a junction doesn't redraw the point on other ways
+* Circularise doesn't redraw the nodes on the selected way
== Vector background layers ==
* The bounding box for the download is taken from the current map edges.
*/
public function download():void {
-trace("download "+edge_l+","+edge_r+","+edge_t+","+edge_b)
this.dispatchEvent(new MapEvent(MapEvent.DOWNLOAD, {minlon:edge_l, maxlon:edge_r, maxlat:edge_t, minlat:edge_b} ));
for (var i:uint=0; i<paintContainer.numChildren; i++)
getLayerAt(i).connection.loadBbox(edge_l,edge_r,edge_t,edge_b);
var mapVars:URLVariables = new URLVariables();
mapVars.bbox= left+","+bottom+","+right+","+top;
-trace("requesting "+mapVars.bbox);
var mapRequest:URLRequest = new URLRequest(apiBaseURL+"map");
mapRequest.data = mapVars;