lewisje / svgweb

Automatically exported from code.google.com/p/svgweb
Other
0 stars 0 forks source link

Conflict between svgweb and Google Maps API V3 #463

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Svgweb and the Google Maps API V3 seem to conflict. V2 doesn't raise this 
issue. In the attached example script, I try to show a map while svgweb is 
loaded. When the flash renderer is forced on Chrome, Firefox or Opera the 
map controls don't show up and an error message is reported (as shown on 
attached images). On Internet Explorer 6 the map shows with its controls 
and no error.

To reproduce the problem:
1.Copy test-gmap.html to a directory on your webserver
2.Place the svgweb files in the same directory as test-gmap.html
3.Load test-gmap.html in Chrome, Firefox or Opera

svgweb versions tried are 2009-11-23's, latest from readonly SVN repo, and 
patched version from issue 375 (Problem with using svgweb and jquery 
together).

Original issue reported on code.google.com by pierre.s...@gmail.com on 19 Mar 2010 at 5:30

Attachments:

GoogleCodeExporter commented 8 years ago
I have reproduced this problem. I have no idea what is causing it. 

When I browse the DOM of a map, I see inline SVG images on firefox, so Google 
Maps
appears to use SVG in some way.

Original comment by grick23@gmail.com on 28 Mar 2010 at 6:19

GoogleCodeExporter commented 8 years ago
Last I knew, Google Maps used SVG/VML to render driving directions.  Not sure 
if that
helps any.

Original comment by codedr...@gmail.com on 28 Mar 2010 at 8:57

GoogleCodeExporter commented 8 years ago
It might be from the patches we do to native SVG functionality on non-IE 
browsers.

Original comment by bradneub...@gmail.com on 29 Mar 2010 at 8:26

GoogleCodeExporter commented 8 years ago
I've added a test case for this in 
tests/browser-tests/issue-tests/test463.html. Here's what I've found:

* If the Flash renderer is on and you are on IE, the Google Map appears and all 
the Google Map controls 
appear on top correctly.
* If the Flash renderer is on and you are on Firefox, the Google Map appears 
but the Google Map overlay 
controls _don't_ appear, which is a bug.
* If the native SVG renderer is used on Firefox, everything is correct.

I thought maybe Issue 375 would fix this but it appears to be a deeper issue.

Original comment by bradneub...@gmail.com on 7 Apr 2010 at 8:42

GoogleCodeExporter commented 8 years ago

Original comment by bradneub...@gmail.com on 7 Apr 2010 at 8:42