[Google Maps API v3] Re: top en left of element in infowindow differs per browser

2011-09-15 Thread Nico Oudshoorn
http://www.meerijden.nu/kaltest.php is a simple test of the problem. It 
has to do with the calculation of the top and left offset. If you select a 
date you get the target name and top-offset of every parent of the date 
element and finaly the top and left offset of the calendar.. So you can 
compare this in IE and Chrome. 
 
This is the way the top offset is calculated by epoch:
Epoch.prototype.getTop = function (element) //PRIVATE: returns the absolute 
Top value of element, in pixels
{
var oNode = element;
var iTop = 0;

while(oNode != null && oNode.tagName != 'BODY') {
alert(oNode.tagName);
alert(oNode.offsetTop);
iTop += oNode.offsetTop;
oNode = oNode.offsetParent;
}

return iTop;
 
The calendar is wrong positioned in Chrome. BUT if you leave out the height 
parameter in the div in kaltes than it also in Chrome the positiong is good.
 
AND if you have the same div outside an infowindow and outside the map than 
it functions also well.
 
My conclusion is that it has to do with the offset calculation in an 
infowindow and that it is also dependent the way the date element is written 
in the page.
 
I hope that this will be helpfull to come to a solution.
 
Nico. 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/HDx1ish6u9oJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: top en left of element in infowindow differs per browser

2011-09-13 Thread Nico Oudshoorn
Thanks foor recations. Now we can talk. In Chrome where is goed wrong I get 
a top of minus 228px and a left of 823px. Maybe this can a little bit differ 
depending where the infowindow is located. You can't see the calendat.
 
In FF the top is also minus. In IE and Safari the top resp 273 and 265 and 
left is 669 and 667 and the calendar is at the right place. 
 
Maybe this is already helpful to you. If you test is yourself, the alerts 
that give the offsets are still in the page.
 
I will try to get you a simple example within ...
 
Thanks, Nico.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/UWfPL7MGbMEJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: top en left of element in infowindow differs per browser

2011-09-13 Thread Nico Oudshoorn
Is there anybody going to listen to my story all about the infowindow that 
doesn't work? Am I the only one with this problem? Or isn't this problem 
interesting? Or is there some problem with the rpesentation of the problem? 
Or 
 
Please, any reaction!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/yPSdjrKiTxkJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] top en left of element in infowindow differs per browser

2011-09-02 Thread Nico Oudshoorn
I have a map with a marker and an infowindow with a form. In the form you 
can open a calander beyond the date element. In IE and safari this works 
fine. In Chrome and FF the calendar opens somewhere outside the document. If 
you have luck you can see a glimp of it. In FF5 even the dropdown boxes 
appear somewhere on the screen and you can only select via arrow up and 
down.
 
you can test it here http://www.meerijden.nu/ritinvoerenmapsepo.php?codet=en. 
I have the alerts for the calendar top and left still active so you can see 
the differences..
 
I hope someone has a solution.
 
Thanks, Nico Oudshoorn.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/4AJZPWzir8MJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: dropdownmenu in infowindow doesn't work in FF

2011-08-13 Thread Nico Oudshoorn
http://www.meerijden.nu/allerittenmaps2V3.php?codet=en&ga=a in this page I 
removed all the code that could have been the cause of the trouble. 
I tested it again and I fill in a city in rideshare from and press enter and 
the icon of this city appears in the map and/or I fill in a city in 
rideshare to and press enter and the icon of this city appears in the map as 
well. In the infowindow you can change the distnace in the dropdownmenu. 
Again in IE and Chrome this works fine, but in FF the first time it looks to 
work right, but it acts strange and choosing is hardly or not possible???
 
Still waiting for a solution.
 
Nico.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/O3eIPKHU3cUJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: dropdownmenu in infowindow doesn't work in FF

2011-08-01 Thread Nico Oudshoorn
I did a test on my other computer. First with FF 3.5.01, then with 3.5.16 
and then with the latest version 5.0.1 It works fine all the time. On the 
computer where I develop the site I have FF 5.0.1 as well. And still the 
problem keeps coming

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/mJh_jRrhHs4J.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: dropdownmenu in infowindow doesn't work in FF

2011-08-01 Thread Nico Oudshoorn
Thanks for your reaction. I still wonder why it works well in IE and Chrome. 
And the same page did work in V2 in FF. But I follow your suggestion and 
then come back with the results.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/Y5oU18SvcUIJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: dropdownmenu in infowindow doesn't work in FF

2011-07-31 Thread Nico Oudshoorn
Thanks for your reaction and comments. I  know, it can always better.
 
The problem occurs only in FF, not in IE or Chrome. 
This field id="frequentie2"is not the problem. This will be enabled if you 
those something in field frequency (id=frequentie1). And that is the 
problem  Choosing is not possible. The same problem occurs with fields seats 
and departure.
 
I tested it again and I fill in a city in rideshare from and press enter and 
the icon of this city appears in the map, then I fill in a city in rideshare 
to and press enter and the icon of this city appears in the map as well. 
Then I click on one of the icons in the map and I can fill in a ride. Only 
the visible dropdown menu's act strange and choosing has no effect. That is 
the problem!?
 
Any suggestions?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/ZTs9LXXBCPcJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] conversion to V3 questions

2011-07-30 Thread Nico Oudshoorn
I have two questions at the moment:
1) in V2 we had GUload in the body; inV# this gives an error; has V3 an 
replacement for GUnload?
2) I remember that in V2 we had to insert this statement: ; do we need this in 
V# or does it have a replacement?
 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/rYHM2Ax7kVAJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] dropdownmenu in infowindow doesn't work in FF

2011-07-29 Thread Nico Oudshoorn
go to this page http://www.meerijden.nu/ritinvoerenmaps.php?codet=en and 
enter rideshare to and from city and click on one of the icons in the map. 
The dropdown menu's in the infowindow act strange and doesn't work. In IE 
and chrome there is no problem. I work with api 3.4.
 
Anu suggestions? 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/vpWZR-3LR3sJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Hyperlink in info window not working (IE8)

2011-07-26 Thread Nico Oudshoorn
I have the same problem. Afters several hours of testing I thought let me 
check the forum. And I was glad to found this message. Now waiting for the 
solution.
 
Nico.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/VtZsHodpAMYJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: results markermanager differs between browsers

2011-07-20 Thread Nico Oudshoorn
solved No further action required.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/paez-Wq_FXMJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] results markermanager differs between browsers

2011-07-19 Thread Nico Oudshoorn
go to this page http://www.meerijden.nu/allerittenmaps2V3.php?ga=a&codet=en and 
fill in rottum and press enter and repeat this several times in the from and 
to ciry. 
 
In firefox and google chrome this gives the right result. 8 results with 
'you meant' and from which you can choose with the corresponding markers.. 
 
In IE the first time it works correct, but then the results are shown and 
disappear immediatedly and the corresponding markers are not shown. And 
there is no script error. 
 
What do I do wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/JHs_BbX_N2wJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: I am getting an error in the markermanager.js at line 764 saying "minX is null or not an object

2011-07-17 Thread Nico Oudshoorn
I made the changes you suggested. Now, in IE (city Rottum and press Enter) 
the "did you mean..." with the results comes and is gone immediatedly and 
you don't see the markers. I tested it in google chrome and there it worked 
perfect. But offcourse it has to work in all actual browsers???!!!
 
Any suggestions?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/bc2abnUi8sAJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: I am getting an error in the markermanager.js at line 764 saying "minX is null or not an object

2011-07-15 Thread Nico Oudshoorn
This is the correct link 
http://www.meerijden.nu/allerittenmaps2V3.php?ga=a&codet=en

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/Bs3ORPBGeIoJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: I am getting an error in the markermanager.js at line 764 saying "minX is null or not an object

2011-07-13 Thread Nico Oudshoorn
This is the correct link 
http://www.meerijden.nu/allerittenmaps2V3.php?ga=a&codet=en

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/ShnmDV1FfCkJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: I am getting an error in the markermanager.js at line 764 saying "minX is null or not an object

2011-07-13 Thread Nico Oudshoorn
I am sorry. I don't now why, but I come back with this.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/uSEBqswA-60J.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: loss of lat and lng decimals

2011-07-13 Thread Nico Oudshoorn
I did the following test:
 
$url = "
http://maps.googleapis.com/maps/api/geocode/xml?address=".urlencode($adress)."&sensor=false";
 

$geo = new SimpleXMLElement(file_get_contents($url));
if ($geo->status == "OK") {
 $vanpllat = $geo->result->geometry->location->lat;
echo $vanpllat;  //result = 52.133
$aa = $vanpllat * 1;
echo $aa; //result = 52
$aa = floatval($vanpllat);
echo $aa; //result = 52.133
so the conclusion is that you have to floatval the geo result before you can 
use it in a calculation. Thank you for your cooporation.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/uKBxd6p_yv0J.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] I am getting an error in the markermanager.js at line 764 saying "minX is null or not an object

2011-07-13 Thread Nico Oudshoorn
http://www.meerijden.nu/allerittenmaps2V3.php?codet=en
 
fill in on this page city rottum and press enter. The first time it seems to 
work beause you cab select form a form, did you mean etc. But if you do it a 
second time then you get a script error. I am sure that a few days till a 
week before this didn't occur and I didn't change anything. In V2 it works 
ok, now I am transforming to V3 with the V3 markermanager.
 
Any suggestions?
 
Foutdetails webpagina
Gebruikersagent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; 
Trident/4.0; BTRS28059; GTB7.1; InfoPath.1; .NET CLR 1.1.4322)
Tijdstempel: Wed, 13 Jul 2011 13:57:11 UTC

Bericht: 'minX' is leeg of geen object
Regel: 764
Teken: 8
Code: 0
URI: http://www.meerijden.nu/V3/markermanager.js

Bericht: 'minX' is leeg of geen object
Regel: 764
Teken: 8
Code: 0
URI: http://www.meerijden.nu/V3/markermanager.js
 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/vUWKodYCe1sJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] loss of lat and lng decimals

2011-07-13 Thread Nico Oudshoorn
$naarposlat = $geo->result->geometry->location->lat;
 
the problem is this geo result. In ths example the echo is 51.4945758. But 
even if you only multiply it by 1 the result is 51. In the meantime I let 
the lat and lng come from the client side. But I am still wandering why on 
the server side this problem comes up. So the georesult has somthing that 
has the size of a point, looks like a point but acts like ...

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/M95wCypqXqMJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] loss of lat and lng decimals

2011-07-12 Thread Nico Oudshoorn


Both are version 3 

In this page the lat and lng are geberated at the client side and come on 
the server side from $zoekaklat and $zoekaklng:
$naarposlat = $zoekaklat; // = 51.4945758001
$naarposlng = $zoekaklng; // = 4.28716220012
if($naarposlat==0 and $naarposlng==0) {
 $zoekmessage2 = $arz_zoekmessage;
}
else {
 $maxlat = $naarposlat + ( $zoekakafstand / (69 * 1.61)); // 69 miles per 
degree of latitude 
 $minlat = $naarposlat - ( $zoekakafstand / (69 * 1.61)); 
 $maxlng = $naarposlng + ( $zoekakafstand / ( 69.172 * 1.61 * cos( 
$naarposlat * 0.0174533 ) ) ); 
 $minlng = $naarposlng - ( $zoekakafstand / ( 69.172 * 1.61 * cos( 
$naarposlat * 0.0174533 ) ) ); 
 $ritten = "SELECT 
*,(6366*acos(cos(radians(".$naarposlat."))*cos(radians(`naarpllat`))*cos(radians(`naarpllng`)-radians(".$naarposlng."))+sin(radians(".$naarposlat."))*sin(radians(`naarpllat`
 
AS verschil FROM ritten force index (naarpositie) WHERE vraag_aanbod like 
'$ag' AND naarpllat < $maxlat AND naarpllat > $minlat AND naarpllng < 
$maxlng AND naarpllng > $minlng AND vertrekdatum >= '$datum' HAVING verschil 
<= $zoekakafstand"; 

This select statement is the echo of $ritten:
SELECT 
*,(6366*acos(cos(radians(51.4945758001))*cos(radians(`naarpllat`))*cos(radians(`naarpllng`)-radians(4.28716220012))+sin(radians(51.4945758001))*sin(radians(`naarpllat`
 
AS verschil FROM ritten force index (naarpositie) WHERE vraag_aanbod like 
'A%' AND naarpllat < 51.6296014549 AND naarpllat > 51.3595501451 AND 
naarpllng < 4.50350079762 AND naarpllng > 4.07082360238 AND vertrekdatum >= 
'2011-07-12' HAVING verschil <= 15 


This is from another page where the lat and lng are generated on the server 
side:
$url = "
http://maps.googleapis.com/maps/api/geocode/xml?address=".urlencode($zoekpos2)."&sensor=false";
 

$geo = new SimpleXMLElement(file_get_contents($url));
usleep(175);
if ($geo->status == "OK") {
 $naarposlat = $geo->result->geometry->location->lat; // = 51.4945758 in the 
calculation this is handled as 51 ???
 $naarposlng = $geo->result->geometry->location->lng; // = 4.2871622 in the 
calculation this is handled as 4 ???
 $maxlat = $naarposlat + ( $zoekafstand2 / (69 * 1.61)); // 69 miles per 
degree of latitude 
 $minlat = $naarposlat - ( $zoekafstand2 / (69 * 1.61)); 
 $maxlng = $naarposlng + ( $zoekafstand2 / ( 69.172 * 1.61 * cos( 
$naarposlat * 0.0174533 ) ) ); 
 $minlng = $naarposlng - ( $zoekafstand2 / ( 69.172 * 1.61 * cos( 
$naarposlat * 0.0174533 ) ) ); 
 $ritten = "SELECT 
*,(6366*acos(cos(radians(".$naarposlat."))*cos(radians(`naarpllat`))*cos(radians(`naarpllng`)-radians(".$naarposlng."))+sin(radians(".$naarposlat."))*sin(radians(`naarpllat`
 
AS verschil FROM ritten force index (naarpositie) WHERE vraag_aanbod like 
'$ag' AND naarpllat < $maxlat AND naarpllat > $minlat AND naarpllng < 
$maxlng AND naarpllng > $minlng AND vertrekdatum >= '$datum' HAVING verschil 
<= $zoekafstand2"; 

This select statement is the echo of $ritten:
SELECT 
*,(6366*acos(cos(radians(51.4945758))*cos(radians(`naarpllat`))*cos(radians(`naarpllng`)-radians(4.2871622))+sin(radians(51.4945758))*sin(radians(`naarpllat`
 
AS verschil FROM ritten force index (naarpositie) WHERE vraag_aanbod like 
'A%' AND naarpllat < 51.1350256549 AND naarpllat > 50.8649743451 AND 
naarpllng < 4.2140244802 AND naarpllng > 3.7859755198 AND vertrekdatum >= 
'2011-07-12' HAVING verschil <= 15 

So, in my opinion the input is the same, the formulas are the same and the 
outcome is different. Thats is because the lat and lng are handled in the 
calcultation as integers without decimals.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/--UZCHqshpIJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] loss of lat and lng decimals

2011-07-12 Thread Nico Oudshoorn
I use the same method in my version 2 site. There I don't have this problem. 
$zoekafstand isn't the problem. $vanposlat is the problem. If $zoekpos is 
zutphen in the netherlands then the result $vanposlat = 52.13. But in 
the calculation with the result $maxlat, the value of $vanposlat is 52 
instead of 52.1. That gives a difference with the V2 solution. So in 
$maxlat Th V2 result is 0,13 higher and that is the correct result. Why 
I don't know. The same problem of course with $vanposlng.
 
$maxlat = $vanposlat + ( $zoekafstand / (69 * 1.61)); // 69 miles per degree 
of latitude 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/JjOwxCKcF6MJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] loss of lat and lng decimals

2011-07-11 Thread Nico Oudshoorn
This is from a site of mine. In an example that I tested, the outcome of 
$vanposlat was 52.13. $zoekafstand = 15. The result of  $zoekafstand / 
(69 * 1.61) = 0,1350256. And surprise surprse $maxlat = 52.1350256 So we 
lost the 0.13 However when I echo $vanposlat it = 52.13, but if 
I do whatever calculation with it, you calculate only with 52??
 
Any suggestions?
 
$url = "
http://maps.googleapis.com/maps/api/geocode/xml?address=".urlencode($zoekpos)."&sensor=false";
 

   $geo = new SimpleXMLElement(file_get_contents($url));
   if ($geo->status == "OK") {  
$vanposlat = $geo->result->geometry->location->lat; 
$vanposlng = $geo->result->geometry->location->lng;
$maxlat = $vanposlat + ( $zoekafstand / (69 * 1.61)); // 69 miles per 
degree of latitude 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/Dj0-KAZoy4cJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] script error after dragend

2011-07-10 Thread Nico Oudshoorn
 
If you go to this page http://www.meerijden.nu/allerittenmaps2V3.php?ga=a and 
fill in a city and press Enter a icon will be placed on the map. If you drag 
this icon and drop it sowewhere than you get the following script error. The 
message is รก.e is empty or no object. If you go to the source you find the 
dragstart and the dragend at line 934. o find the problem I filled in an 
alert at several places and i found that the error appears after the dragend 
has finished. So I can't find the cause of this problem . In V2 I don't have 
this problem but I am transforming my site to V3.
 
Any suggestions?
 
Nico.
 
Foutdetails webpagina

Gebruikersagent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; 
Trident/4.0; BTRS28059; GTB7.1; InfoPath.1; .NET CLR 1.1.4322)
Tijdstempel: Sun, 10 Jul 2011 14:22:56 UTC


Bericht: 'a.e' is leeg of geen object
Regel: 23
Teken: 104
Code: 0
URI: http://maps.gstatic.com/intl/nl_ALL/mapfiles/api-3/5/9/main.js

 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/LINT1BOKjYYJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: map and confirn message

2011-06-27 Thread Nico Oudshoorn
Thanks. The map complete examples I try. But what to do with the error I 
don't know? Do you have a suggestion?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/Q5quQ0bh__AJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: map and confirn message

2011-06-25 Thread Nico Oudshoorn
This suggestion of you (Your method of creating a new map object for every 
choice is a bit 
suspect ; better to re-use the same map by repositioning.  Probably 
quicker rendering as well.) I changed the code. I have written the load and 
unload in the body and made a loadmap2 function. So the map is created and 
rendered. So now only the marker must be placed and the map centered. But 
still I get the same result. I hope the error you mentioned about the unload 
has disappeared as well. I don't see an error. 
 
Is it possible to wait for the end placing themarker and center the map 
before the conform starts?  
Nico.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/JNBbuwwsu94J.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: map and confirn message

2011-06-24 Thread Nico Oudshoorn
I know your suggestion. I have that already working on this page 
http://www.meerijden.nu/allerittenmaps2.php?ga=a&codet=en. But on the other 
page I had a different solution. In an early V2 version it was working, but 
the empty map I discovered later. Now I am transforming to V3 and want to 
have it working. What I don't understand ia what you mean with I have to 
write the code. Because all the code is there already. Only the map doesn't 
show up. The execution of the code isn't finisched at the moment of the 
confirm? Something wrong with my logic?
 
Nico.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/iTM47V3YFyYJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: map and confirn message

2011-06-23 Thread Nico Oudshoorn
Why should it be? Because before you choose ok or cancel in the confirm 
message you want to see the place to choose on the map!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/iu8SUiXg9ZwJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] map and confirn message

2011-06-23 Thread Nico Oudshoorn
on this page 
http://www.rideshare.nu/ritinvoerenV3.php?codet=en
 fill 
in as from city rottum. There are several places called rottum. So the page 
will show place after place if you click cancel. But the map where that 
place is wil not be shown? Only when there is just one place or if you click 
ok than the map with the place is shown. Question is, why is the map in the 
other cases not shown?
 
Any suggestions.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/llaasaKsI6YJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] infowindowclose

2011-02-16 Thread Nico Oudshoorn
In V2 I have google.maps.event.addListener(emarker[ind], "closeclick", 
function() {; I did find the closeclick, but I can't find how I know for 
which marker the infowindow is closed? 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Ginfowindowtab

2011-02-15 Thread Nico Oudshoorn
Is there any plan to convert Ginfowindowtab from V2 to V3?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Error in markermanager.js V3

2011-02-10 Thread Nico Oudshoorn
I dont know what you mean. First, the same procedure works fine in V2. You 
can check that by leaving out V3 from the page address. If I insert map: map 
in createvindmarker then all the 8 markers appear on the map and you still 
got the same error. But in that case I don't even need markermanager. With 
markermanager you first collect all the markers and with refresh you put 
them on the map.
 
So the problem still is there 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Error in markermanager.js V3

2011-02-09 Thread Nico Oudshoorn
 Click for this page: 
http://www.meerijden.nu/allerittenmaps2V3.php?ga=a&codet=en 
 
Fill in for locate from-point: rottum, and click this button. Then you get 
an alert: before, and the following srcipt-error in markermanager.js. Then 
receive the source of the page and search for, alert ("before");. Then you 
find the error line. It happens with addmarkers. I can't find whjat goes 
wrong. I checked with several of your examples.
 
Any suggestions
  
Gebruikersagent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; 
Trident/4.0; .NET CLR 1.1.4322)
Tijdstempel: Wed, 9 Feb 2011 14:56:14 UTC
 

Bericht: 'this.getProjection()' is empty or no object
Regel: 958
Teken: 3
Code: 0
URI: http://www.meerijden.nu/V3/markermanager.js

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Just the route

2011-01-11 Thread Nico Oudshoorn
This documentation I have seen and go thru several times even the examples 
and that doesn't give me the answer or I overlook something? 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Just the route

2011-01-10 Thread Nico Oudshoorn
In V2 I defined my own markers, my own infowindows and my own route. Now I 
get even in the results a leg with the A and B markers and infowindows. Can 
I just get the leg and no markers an no infowindows so I can easily convert 
to V3? I couldn't. find an answer in the forum or I missed it.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Markerimage

2011-01-06 Thread Nico Oudshoorn
The image name is http://www.meerijden.nu/dd-startl.png
 
This was de working code in V2
//var baseIcon = new GIcon();
//baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";;
//baseIcon.iconSize = new GSize(34, 20);
//baseIcon.shadowSize = new GSize(37, 34);
//baseIcon.iconAnchor = new GPoint(34, 9);
//baseIcon.infoWindowAnchor = new GPoint(9, 0);
//baseIcon.infoShadowAnchor = new GPoint(18, 25);
//var iconvt = new GIcon(baseIcon);
//iconvt.image = "dd-startl.png";
 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Markerimage

2011-01-04 Thread Nico Oudshoorn
1)
var iconvt = new google.maps.MarkerImage('dd-startl.png',
 new google.maps.Size(34, 20),
 new google.maps.Point(34,9),
 new google.maps.Point(9, 0)
);
 
2)
var iconvt = 'dd-startl.png',
With definition 1 I don't get a marker on the map and with definition 2 I 
do. If I give definition 1 without the size and point parameters I get a 
marker as well. But I want the size and point parameters. What do I do 
wromg?
 
vtmarker = new google.maps.Marker({
  position: vtpoint,
  title: vttitel,
  map: map,
  icon: iconvt,
  draggable: true
 });

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: markermanager undefined

2011-01-04 Thread Nico Oudshoorn
Thanks, I found the missing link.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] markermanager undefined

2011-01-03 Thread Nico Oudshoorn
I copied these two statements from your exanmples and get markermanager 
undefined? What do I do wrong or what has to be defined more?
 
var mgrOptions = { borderPadding: 50, maxZoom: 15, trackMarkers: true };
var vindallmarkers = new MarkerManager(map, mgrOptions);
 
Regards, Nico.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Ginfowindowtab

2011-01-02 Thread Nico Oudshoorn
I am converting step by step from V2 to V3. Now I think I am stuk. I often 
need Ginfowindowtab, but I didn;t find any replacement in V3 or in this 
forum. Did I miss something or is it coming soon? 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.