Hi Pamela,
Sorry, I already fixed this one, I should have posted this more
clearly.
The not fully opening of the InfoWindow was due to another reason.
(nothing to do with quotes)
I ended up with the following which worked:
var conTent = "<img src=" + srcBig + " width=528 height=396>";
var infoWindow = new google.maps.InfoWindow({
content: conTent,
pixelOffset: new google.maps.Size(20,0)
});
And srcBig is the following:
"625_selectie/dkh_rb_" + numBer + "_625.jpg";
Please refer to:
http://www.groenewilg.nl/regen_besteld/rond_burgst_v2.html
*** not-yet-fixed-problem ***
The only problem I could not fix was the "moving back to the middle"
problem.
I guess there are lot's of people with this problem !
The problem is:
-1- after opening a large InfoWindow, the map is moved.
-2- when closing the InfoWindow, the map is not moved back.
-3- the end-user must pan to the original position again !
In the current version I've commented-out this section, because I
could not get
it to work, see:
// google.maps.event.addListener(infoWindow, 'closeclick', function
() {
// // setTimeout(moveBackToMiddle, 3000);
// map.set_center(new google.maps.LatLng(51.61039, 4.735746));
// });
The function is still there:
function moveBackToMiddle() {
var posMiddleMapRondDkh = new google.maps.LatLng(51.61039,
4.735746);
map.set_center(posMiddleMapRondDkh);
}
*** ONE MORE THING ***
I found out yesterday evening the no Polyline functionality is present
(yet) in V3.
Because I can't do without I've moved to V2.
Can you tell me when Polylines are available in V3 ? (days, weeks,
months ?)
Please note I'm new to all this stuff, therefore I've not answered any
questions of others yet.
greetings
green (Stefan van Oorschot, Breda, The Netherlands)
On Jul 9, 1:54 pm, "pamela (Google Employee)" <
pamela...@gmail.com>
wrote:
> If you want to, you can escape the quotes inside the string. The
> following should work:
> var conTent = "<img src=\"" + srcBig + "\"></img>";
>
> - pamela
>