Hi List, I have an search adres application that uses the ZoomToView function as mentioned below. In previous MGOS versions this function works fine. In MGOS 2.1 this function works also but after execution the standard functions from mapguide does work anymore. For example if you pan the map you will see a response from mapguide but the map will be blank.
function showAdres(value) { // alert(window.top.ViewerFrame.mapFrame.name); ar = value.split("-"); xc = ar[0]; yc = ar[1]; // alert(xc); window.top.ViewerFrame.mapFrame.ZoomToView(xc,yc,500,true); } See for example http: http://213.154.241.184/sites/lochem/index2.php (type 'kerk' and press "zoek" button, select address from list. After zooming select for example the pan function and see what happens) After zooming to a address. The image shown is correct. But if I look to the X, Y cooridinates shown left below, they are not correct. On nable I can only find this post: http://n2.nabble.com/Couple-of-potential-bugs-in-MapGuide-2-1-API-AjaxViewer-td2610344.html#a2610344 I tried adding the numberValue = numberValue - 0; line to the mainframe.templ file but this does not seem to work. Annyone other suggestions? met vriendelijke groet, GISkit BV Rico van Driel GISkit BV Postbus 489 3990 GG Houten De Molen 15 3994 DA Houten Tel: 030-6340430 Fax: 030-6342433 email: i...@giskit.nl<mailto:i...@giskit.nl> www: http://www.giskit.nl<http://www.giskit.nl/> Op al onze aanbiedingen en overeenkomsten zijn de algemene voorwaarden van FENIT, gedeponeerd ter Griffie van de Arrondissementsrechtbank te Den Haag op 3 juni 2003 onder nummer 60/2003 van toepassing. Een exemplaar zenden wij u desgewenst kosteloos toe.<blocked::http://www.giskit.nl/>
_______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users