Open GoogleCodeExporter opened 8 years ago
Do you have acces to google maps from IE?
Original comment by cadet...@gmail.com
on 22 Apr 2015 at 4:50
Thanks to answer.
Yes I have acces to Google map from internet explorer.
I also tried to access with some jvascript functions into the page with success.
In fact the megademo from gmlib does not work also... same message.
any idéa ?
Original comment by st.h...@dial.oleane.com
on 24 Apr 2015 at 9:24
can you debug to know the class and method that cause the error?
Original comment by cadet...@gmail.com
on 9 May 2015 at 7:36
Hello,
At delphi side the error arivs during the "DoMap" execution.
In the javascript function le line 147 correspond at thoses statments:
/* EncodePath */
function EncodePath(DecodePath) {
var Points = PointsStrToLatLngArray(DecodePath);
document.geometrydata.encodedPath.value = google.maps.geometry.encoding.encodePath(Points);
}
// Here is line 147
/* ContainsLocation */
function ContainsLocation(IdObj, ZIndex, Lat, Lng) {
document.geometrydata.cntLoc.value = 0;
var Idx = IndexOf(IdObj, ZIndex);
if (Idx == -1) {
document.errordata.errorCode.value = "0";
} else {
var LatLng = new google.maps.LatLng(Lat, Lng);
if ((linkedCompList[i] instanceof google.maps.Polygon) && (google.maps.geometry.poly.containsLocation(LatLng, linkedCompList[Idx]))){
document.geometrydata.cntLoc.value = 1;
}
}
}
I saved the file loaded in the TWebBrowser and attach the file as test.html
I wait for your answser.
Thanks a lot
Original comment by st.h...@dial.oleane.com
on 13 May 2015 at 8:58
Attachments:
Original issue reported on code.google.com by
st.h...@dial.oleane.com
on 20 Apr 2015 at 9:41