GEvent problem

2009-05-23 Thread tamerhat...@qatarnavigator.com
HI. I have many markers in my map and when page refresh every maker change its position , so I have made a function using the GEvent.addListener(marker, 'click',... while click it i want to retrive the position of the maker , and every time the marker position changes it wil be updated. so I hav

polygon bounds

2009-05-17 Thread tamerhat...@qatarnavigator.com
hi . I was wondoring if i can test my marker if it is inside the polygon area or outside?? some hints please.. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email

error

2009-05-12 Thread tamerhat...@qatarnavigator.com
I am getting an error in main.js line:368 char 27. http://maps.google.com/intl/en-All/mapfiles/151e/maps2.api/main.js --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, se

clicked marker

2009-05-11 Thread tamerhat...@qatarnavigator.com
hi . is there any way to do such logic : if ( this marker is clicked ) { then do this...} else { do this }... ?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send

marker change position

2009-05-10 Thread tamerhat...@qatarnavigator.com
hi. I want to apply a function when maker changes its position. I am not talking about dragable markers. is there and eventlistner when the marker coordinates changes so i can call my function. I have tried GEvent.addListener(marker,'changed' but it is not working --~--~-~--~~

remove control on mouse out

2009-05-09 Thread tamerhat...@qatarnavigator.com
hi; I am using custom controls, and onmouse over a certain maker I add these controls. by : GEvent.addListener(marker, 'mouseover', function () { map.addControl(new TextualZoomControl()); }); and I want on mouse out to hide the control. How can I do that? --~--~-~--~~--

search control

2009-04-25 Thread tamerhat...@qatarnavigator.com
I have posted this msg before but not reply . I have added a search bar but it is on the middle buttom of the map how can I edit it's position to the left ? Note my map widht=750. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

no map

2009-04-16 Thread tamerhat...@qatarnavigator.com
hello : I have added google map inside an asp.net page but it is not working only the map copy rigth is appearing. kindly check that link . http://www.arabavl.com/gmap.aspx regards.. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

Ewindow problem

2009-04-08 Thread tamerhat...@qatarnavigator.com
Hi; I have replaced the InfoWindowHtml by ewindow but I am getting an error in the browser that GSize in undefined in line var E_STYLE_1 = new EStyle("stem1.png", new GSize(81, 87), "estyle1", new GPoint(-30, 87 - 3)); ... so what is the problem ? --~--~-~--~~~---~--~--

InfoWindowHtml Width and Background color

2009-04-06 Thread tamerhat...@qatarnavigator.com
Hi; how can I control the InfoWindowHtml width and heigth and backgroung color and such issues. Note: I am not talking about the html text inside the window no I am talking about the windows itself.. --~--~-~--~~~---~--~~ You received this message because you are su

InfoWindowHtml Style

2009-04-06 Thread tamerhat...@qatarnavigator.com
Hi, I want to edit the InfoWindowHtml size and background .can you give me hints our some documentations on it Regards.. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this gro

infowindow auto launch

2009-04-05 Thread tamerhat...@qatarnavigator.com
Hi : I have set marker info window to open onclick but I want it once the marker luanched the info window opens automatically? how can I do it? Regards... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Maps

search bar

2009-04-04 Thread tamerhat...@qatarnavigator.com
Hi; I want to add to my map a search bar ...how can I do it --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@googlegroups.com To unsubscribe

ployline extension

2009-04-02 Thread tamerhat...@qatarnavigator.com
Hello; I am adding my points from data base into an array in that form for example: [x,y,x,y,x,y.] and then I want to draw this points in a polyline so what I have done is to make a for loop for (var i = 0; i < latlngs.length; i += 4) { and then I add my points in the Gpolyline as that: var po

bound function

2009-04-01 Thread tamerhat...@qatarnavigator.com
hello : I have created a a code for my map bound but it is not working probably my it is some syntax error; *** if (latlngArray.length == 1) { map.setCenter(new GLatLng(y, x)); } else { var bound = new GLatLngBound(); for (var i = 0; i < lat

defualt map type

2009-03-31 Thread tamerhat...@qatarnavigator.com
hi; I have intialized my map and then I submit a button to get my car position and my page refresh in an interval of time but if I choose for example the setallite view after refreshing it returns me to the defualt view.give me some hints to separate my defualt map setting .. --~--~-~--~--

google map initialization

2009-03-30 Thread tamerhat...@qatarnavigator.com
Hi; I am facing a problem in initializing my maps;what i have done is the I created a function which I call it by a button submit here is my code : function MapSetCenter(y, x, speed, deviceid, direction, carnumber, AutoScaleBool) { if (GBrowserIsCompatible()) { var map = new

google map initialization

2009-03-30 Thread tamerhat...@qatarnavigator.com
Hi; I am facing a problem in initializing my maps;what i have done is the I created a functions SETMAP(x,y) inside that function I added var map = new GMap2(document.getElementById("map")); map.setCenter(new GLatLng(y, x), 15); map.setUIToDefault(); var marker =

add atributes to the marker

2009-03-30 Thread tamerhat...@qatarnavigator.com
Hello I want to add more atributes to my markers such as: MARKER.x = x; MARKER.y = y; MARKER.speed = speed; MARKER.deviceid=deviceid; MARKER.setCarNo = carnumber; how can I do that? --~--~-~--~~~---~--~~ Yo

real time

2009-03-29 Thread tamerhat...@qatarnavigator.com
Hello : I am gettin a bit confused. I have created a function createmarker(x,y) in c#; then in my Page_Load() I intialize it by defualt values of x,y; then I have a http://groups.google.com/group/Google-Maps-API?hl=en -~--~~~~--~~--~--~---

No Map

2009-03-26 Thread tamerhat...@qatarnavigator.com
HI; I am using now the asp,net with C# code to implement the google map. I install already the GMAP.dll control and I make my changes but there is no MAP ,and I have already a key for my application I have added this key in my web.config this my link : http://219.84.151.30/gmap.aspx Regards..

Tracking my device

2009-03-24 Thread tamerhat...@qatarnavigator.com
HI: CAN any body help me. I am using a tracking devices storing data in MY data base.then I get my data using C# and calling a javascript function to show my cars on googlemap .take a look on my javascript code I think there is a syntax error.I cannot see my markers. var map = null; var latlngA

Tracking

2009-03-23 Thread tamerhat...@qatarnavigator.com
I am using google maps and I have a database which my tracking devices are puting there coordinates in that database so I am getting the last coordinates from the database that means a real time tracking , then after that I am refreshing my page every 10 seconds so the new coordinates must be taki

invalid map key

2009-03-22 Thread tamerhat...@qatarnavigator.com
I am using an asp.net application and I wrote a javascript code to browes the google map and I have signed up to get a map key and I have done before for other site and it works well but now in that webiste it is not worming and getting an error: the google Map API key was registered to other site