I have two different map front end map - only showing data from xml back end map - editing , adding marker, create xml,etc
The system work like this back end map -> adding marker -> choosing the view ( map center for front end ) -> create xml -> upload to front end front end map -> read from uploaded xml -> get the center view -> show the map back end map have larger map canvas then front end one 1000x800 to 600x600 while choosing the view in the back end map i want to show a rectangle guide ( the size of the front end map ) so they knew which part of the map will be show in the front end i put some picture here http://i586.photobucket.com/albums/ss304/wpsd/Lihong/Screenshot.png the rectangle blue dot is a guide I add it using a normal way var guide = document.createElement('div'); guide.setAttribute('id','guide'); $('map_canvas').appendChild(guide); var parentwidth = $('map_canvas').getWidth() / 2; var childposition = parentwidth - (600/2); $('guide').setStyle({ position:'relative', width:'600px', height:'600px', top:'10px', left:childposition +'px', border:'2px dashed blue', zIndex:0 }); which i believe you know that i cant pan the map or use map Event inside the guide Is there any work around for this ? I check the Google map polygon not exactly what i want it moves following the map I want the rectangle always there no matter where you pan the map Any idea ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
