I''ve recently been looking at Mapstraction as a way to make it easier for me to support more than one mapping service, mainly Google Maps and Microsoft''s Virtual Earth. However, I seem to be running into a lot of errors when trying to use Mapstraction with IE7 and Virtual Earth. As an example, I get a "Not Implemented" error when I load the many of the demos. This appears to be happening in the resizeTo method on the line that reads "self = this;". It appears that this was fixed in revision 164 by ajturner, but was re-introduced with the changes in revision 175 with the namespaced changes by Derek Fowler. Changing the variable references back to "myself" in the resizeTo function fixed the Not Implemented error, but I''m getting other runtime errors as well. Marker.OpenBubble also throws the error "this.maps is null or not an object" on this line: // bloody microsoft -- this is broken var el = $m(this.pinID + "_" + this.maps[this.api].GUID).onmouseover; And if I click in the map and drag it, when I let go, I get "view.LatLong is null or not an object" on this line this.maps[api].AttachEvent("onclick", function(e) { me.clickHandler(e.view.LatLong.Latitude, e.view.LatLong.Longitude, me); }); Since I''m kind of new to this sort of development and Mapstraction, I''m wondering how much testing is done on IE7 and Virtual Earth? Do these seem like legitimate errors? Thanks, Tim
Dear all, I''m also having problems with IE7, and I''ve not seen any replies to Tim''s message below. IE seems to have problems with several of the demos. I would really like to use Mapstraction, but I don''t want to start using it and then find out that the majority of visitors have problems! I have tried opening the demos in both IE6 and IE7, to the same effect:- * "Single Page with several maps" - Not implemented (line 720) (as reported by Tim Trentham) * Image Overlay - completely blank screen - all white (^^) * Map Tiles - completely blank screen - all white (^^) * Polylines - Not implemented (line 1147) (++) * Geocoding - Not implemented (line 1147) (++) * Routes - Not implemented (line 1147) (++) (^^ Sorry I can''t be more helpful here - I literally just get a blank screen!) (++ This problem is in setCenterAndZoom ) I also get a problem opening the Fullscreen demo - ''this.layers[...].map'' is null or not an object. However, this looks like it''s a problem in v1.2.145 of Multimap''s code. Please could somebody who is a bit more familiar with the code than I am have a look into this? Many thanks, Andy Turner (not the eponymous project leader!) Tim Trentham wrote:> I''ve recently been looking at Mapstraction as a way to make it easier > for me to support more than one mapping service, mainly Google Maps and > Microsoft''s Virtual Earth. However, I seem to be running into a lot of > errors when trying to use Mapstraction with IE7 and Virtual Earth. > > As an example, I get a "Not Implemented" error when I load the many of > the demos. This appears to be happening in the resizeTo method on the > line that reads "self = this;". It appears that this was fixed in > revision 164 by ajturner, but was re-introduced with the changes in > revision 175 with the namespaced changes by Derek Fowler. Changing the > variable references back to "myself" in the resizeTo function fixed the > Not Implemented error, but I''m getting other runtime errors as well. > > Marker.OpenBubble also throws the error "this.maps is null or not an > object" on this line: > > // bloody microsoft -- this is broken > var el = $m(this.pinID + "_" + > this.maps[this.api].GUID).onmouseover; > > And if I click in the map and drag it, when I let go, I get > "view.LatLong is null or not an object" on this line > > this.maps[api].AttachEvent("onclick", function(e) { > me.clickHandler(e.view.LatLong.Latitude, e.view.LatLong.Longitude, me); > }); > > > Since I''m kind of new to this sort of development and Mapstraction, I''m > wondering how much testing is done on IE7 and Virtual Earth? Do these > seem like legitimate errors? > > Thanks, > > Tim > _______________________________________________ > Mapstraction mailing list > Mapstraction at lists.mapstraction.com > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com
Indeed, hopefully this doesn''t get confusing re: multiplicative names :) Unfortunately (with regards to solving this problem), I don''t have IE or Windows installed anywhere accessible - and am also not an expert in debugging IE JS problems. Can anyone with IE dev experience, or someone they know, help with these problems? I can fix the general problems, but then need someone to test the changes. Thanks, Andrew (the other one) On Wed, Jun 4, 2008 at 3:47 AM, Turner, Andy <a.turner06 at imperial.ac.uk> wrote:> Dear all, > > I''m also having problems with IE7, and I''ve not seen any replies to Tim''s > message below. > > IE seems to have problems with several of the demos. I would really like to > use Mapstraction, but I don''t want to start using it and then find out that > the majority of visitors have problems! I have tried opening the demos in > both IE6 and IE7, to the same effect:- > > * "Single Page with several maps" - Not implemented (line 720) (as reported > by Tim Trentham) > * Image Overlay - completely blank screen - all white (^^) > * Map Tiles - completely blank screen - all white (^^) > * Polylines - Not implemented (line 1147) (++) > * Geocoding - Not implemented (line 1147) (++) > * Routes - Not implemented (line 1147) (++) > > (^^ Sorry I can''t be more helpful here - I literally just get a blank > screen!) > (++ This problem is in setCenterAndZoom ) > > I also get a problem opening the Fullscreen demo - ''this.layers[...].map'' is > null or not an object. However, this looks like it''s a problem in v1.2.145 > of Multimap''s code. > > Please could somebody who is a bit more familiar with the code than I am > have a look into this? > > > Many thanks, > > Andy Turner > (not the eponymous project leader!) > > Tim Trentham wrote: >> >> I''ve recently been looking at Mapstraction as a way to make it easier >> for me to support more than one mapping service, mainly Google Maps and >> Microsoft''s Virtual Earth. However, I seem to be running into a lot of >> errors when trying to use Mapstraction with IE7 and Virtual Earth. >> >> As an example, I get a "Not Implemented" error when I load the many of >> the demos. This appears to be happening in the resizeTo method on the >> line that reads "self = this;". It appears that this was fixed in >> revision 164 by ajturner, but was re-introduced with the changes in >> revision 175 with the namespaced changes by Derek Fowler. Changing the >> variable references back to "myself" in the resizeTo function fixed the >> Not Implemented error, but I''m getting other runtime errors as well. >> >> Marker.OpenBubble also throws the error "this.maps is null or not an >> object" on this line: >> >> // bloody microsoft -- this is broken >> var el = $m(this.pinID + "_" + >> this.maps[this.api].GUID).onmouseover; >> >> And if I click in the map and drag it, when I let go, I get >> "view.LatLong is null or not an object" on this line >> >> this.maps[api].AttachEvent("onclick", function(e) { >> me.clickHandler(e.view.LatLong.Latitude, e.view.LatLong.Longitude, me); >> }); >> >> >> Since I''m kind of new to this sort of development and Mapstraction, I''m >> wondering how much testing is done on IE7 and Virtual Earth? Do these >> seem like legitimate errors? >> >> Thanks, >> >> Tim >> _______________________________________________ >> Mapstraction mailing list >> Mapstraction at lists.mapstraction.com >> http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com > > _______________________________________________ > Mapstraction mailing list > Mapstraction at lists.mapstraction.com > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com >
I thought I might have a quick look at this (not there is much hope of my fixing anything). The first issue I have is that in demo-microsoft.html the virtualearth script is included by <script src="http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js"></script> Whereas in demo.php?map=microsoft it is <script src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6"></script> Does anyone know what it should be? Not that either of them work well for me in IE6 or 7, perhaps they are both wrong. Colin>-----Original Message----- >From: mapstraction-bounces at lists.mapstraction.com >[mailto:mapstraction-bounces at lists.mapstraction.com] On Behalf >Of Andrew Turner >Sent: 04 June 2008 15:16 >To: mapstraction at lists.mapstraction.com; Turner, Andy >Subject: Re: [Mapstraction] IE7 Problems > >Indeed, hopefully this doesn''t get confusing re: >multiplicative names :) > >Unfortunately (with regards to solving this problem), I don''t >have IE or Windows installed anywhere accessible - and am also >not an expert in debugging IE JS problems. > >Can anyone with IE dev experience, or someone they know, help >with these problems? I can fix the general problems, but then >need someone to test the changes. > >Thanks, >Andrew (the other one) > >On Wed, Jun 4, 2008 at 3:47 AM, Turner, Andy ><a.turner06 at imperial.ac.uk> wrote: >> Dear all, >> >> I''m also having problems with IE7, and I''ve not seen any replies to >> Tim''s message below. >> >> IE seems to have problems with several of the demos. I would really >> like to use Mapstraction, but I don''t want to start using it >and then >> find out that the majority of visitors have problems! I have tried >> opening the demos in both IE6 and IE7, to the same effect:- >> >> * "Single Page with several maps" - Not implemented (line 720) (as >> reported by Tim Trentham) >> * Image Overlay - completely blank screen - all white (^^) >> * Map Tiles - completely blank screen - all white (^^) >> * Polylines - Not implemented (line 1147) (++) >> * Geocoding - Not implemented (line 1147) (++) >> * Routes - Not implemented (line 1147) (++) >> >> (^^ Sorry I can''t be more helpful here - I literally just get a blank >> screen!) >> (++ This problem is in setCenterAndZoom ) >> >> I also get a problem opening the Fullscreen demo - >> ''this.layers[...].map'' is null or not an object. However, >this looks >> like it''s a problem in v1.2.145 of Multimap''s code. >> >> Please could somebody who is a bit more familiar with the >code than I >> am have a look into this? >> >> >> Many thanks, >> >> Andy Turner >> (not the eponymous project leader!) >> >> Tim Trentham wrote: >>> >>> I''ve recently been looking at Mapstraction as a way to make >it easier >>> for me to support more than one mapping service, mainly Google Maps >>> and Microsoft''s Virtual Earth. However, I seem to be running into a >>> lot of errors when trying to use Mapstraction with IE7 and >Virtual Earth. >>> >>> As an example, I get a "Not Implemented" error when I load the many >>> of the demos. This appears to be happening in the resizeTo >method on >>> the line that reads "self = this;". It appears that this >was fixed in >>> revision 164 by ajturner, but was re-introduced with the changes in >>> revision 175 with the namespaced changes by Derek Fowler. Changing >>> the variable references back to "myself" in the resizeTo function >>> fixed the Not Implemented error, but I''m getting other >runtime errors as well. >>> >>> Marker.OpenBubble also throws the error "this.maps is null >or not an >>> object" on this line: >>> >>> // bloody microsoft -- this is broken >>> var el = $m(this.pinID + "_" + >>> this.maps[this.api].GUID).onmouseover; >>> >>> And if I click in the map and drag it, when I let go, I get >>> "view.LatLong is null or not an object" on this line >>> >>> this.maps[api].AttachEvent("onclick", function(e) { >>> me.clickHandler(e.view.LatLong.Latitude, e.view.LatLong.Longitude, >>> me); }); >>> >>> >>> Since I''m kind of new to this sort of development and Mapstraction, >>> I''m wondering how much testing is done on IE7 and Virtual Earth? Do >>> these seem like legitimate errors? >>> >>> Thanks, >>> >>> Tim >>> _______________________________________________ >>> Mapstraction mailing list >>> Mapstraction at lists.mapstraction.com >>> >http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction. >>> com >> >> _______________________________________________ >> Mapstraction mailing list >> Mapstraction at lists.mapstraction.com >> >http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.c >> om >> >_______________________________________________ >Mapstraction mailing list >Mapstraction at lists.mapstraction.com >http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstra >ction.com >
OK, I have answered it myself, it should be the second one, in fact now it is 6.1 Now I have just got to work out how to debug in IE Colin>-----Original Message----- >From: mapstraction-bounces at lists.mapstraction.com >[mailto:mapstraction-bounces at lists.mapstraction.com] On Behalf >Of Colin and Yvonne Law >Sent: 04 June 2008 17:56 >To: mapstraction at lists.mapstraction.com >Subject: Re: [Mapstraction] IE7 Problems > >I thought I might have a quick look at this (not there is much >hope of my fixing anything). The first issue I have is that in >demo-microsoft.html the virtualearth script is included by > ><script >src="http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js"></script> > >Whereas in demo.php?map=microsoft it is > ><script >src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6 >"></script> > >Does anyone know what it should be? > >Not that either of them work well for me in IE6 or 7, perhaps >they are both wrong. > >Colin > >>-----Original Message----- >>From: mapstraction-bounces at lists.mapstraction.com >>[mailto:mapstraction-bounces at lists.mapstraction.com] On Behalf Of >>Andrew Turner >>Sent: 04 June 2008 15:16 >>To: mapstraction at lists.mapstraction.com; Turner, Andy >>Subject: Re: [Mapstraction] IE7 Problems >> >>Indeed, hopefully this doesn''t get confusing re: >>multiplicative names :) >> >>Unfortunately (with regards to solving this problem), I don''t have IE >>or Windows installed anywhere accessible - and am also not an >expert in >>debugging IE JS problems. >> >>Can anyone with IE dev experience, or someone they know, help with >>these problems? I can fix the general problems, but then need someone >>to test the changes. >> >>Thanks, >>Andrew (the other one) >> >>On Wed, Jun 4, 2008 at 3:47 AM, Turner, Andy >><a.turner06 at imperial.ac.uk> wrote: >>> Dear all, >>> >>> I''m also having problems with IE7, and I''ve not seen any replies to >>> Tim''s message below. >>> >>> IE seems to have problems with several of the demos. I >would really >>> like to use Mapstraction, but I don''t want to start using it >>and then >>> find out that the majority of visitors have problems! I have tried >>> opening the demos in both IE6 and IE7, to the same effect:- >>> >>> * "Single Page with several maps" - Not implemented (line 720) (as >>> reported by Tim Trentham) >>> * Image Overlay - completely blank screen - all white (^^) >>> * Map Tiles - completely blank screen - all white (^^) >>> * Polylines - Not implemented (line 1147) (++) >>> * Geocoding - Not implemented (line 1147) (++) >>> * Routes - Not implemented (line 1147) (++) >>> >>> (^^ Sorry I can''t be more helpful here - I literally just >get a blank >>> screen!) >>> (++ This problem is in setCenterAndZoom ) >>> >>> I also get a problem opening the Fullscreen demo - >>> ''this.layers[...].map'' is null or not an object. However, >>this looks >>> like it''s a problem in v1.2.145 of Multimap''s code. >>> >>> Please could somebody who is a bit more familiar with the >>code than I >>> am have a look into this? >>> >>> >>> Many thanks, >>> >>> Andy Turner >>> (not the eponymous project leader!) >>> >>> Tim Trentham wrote: >>>> >>>> I''ve recently been looking at Mapstraction as a way to make >>it easier >>>> for me to support more than one mapping service, mainly >Google Maps >>>> and Microsoft''s Virtual Earth. However, I seem to be >running into a >>>> lot of errors when trying to use Mapstraction with IE7 and >>Virtual Earth. >>>> >>>> As an example, I get a "Not Implemented" error when I load >the many >>>> of the demos. This appears to be happening in the resizeTo >>method on >>>> the line that reads "self = this;". It appears that this >>was fixed in >>>> revision 164 by ajturner, but was re-introduced with the >changes in >>>> revision 175 with the namespaced changes by Derek Fowler. Changing >>>> the variable references back to "myself" in the resizeTo function >>>> fixed the Not Implemented error, but I''m getting other >>runtime errors as well. >>>> >>>> Marker.OpenBubble also throws the error "this.maps is null >>or not an >>>> object" on this line: >>>> >>>> // bloody microsoft -- this is broken >>>> var el = $m(this.pinID + "_" + >>>> this.maps[this.api].GUID).onmouseover; >>>> >>>> And if I click in the map and drag it, when I let go, I get >>>> "view.LatLong is null or not an object" on this line >>>> >>>> this.maps[api].AttachEvent("onclick", function(e) { >>>> me.clickHandler(e.view.LatLong.Latitude, e.view.LatLong.Longitude, >>>> me); }); >>>> >>>> >>>> Since I''m kind of new to this sort of development and >Mapstraction, >>>> I''m wondering how much testing is done on IE7 and Virtual >Earth? Do >>>> these seem like legitimate errors? >>>> >>>> Thanks, >>>> >>>> Tim >>>> _______________________________________________ >>>> Mapstraction mailing list >>>> Mapstraction at lists.mapstraction.com >>>> >>http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction. >>>> com >>> >>> _______________________________________________ >>> Mapstraction mailing list >>> Mapstraction at lists.mapstraction.com >>> >>http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.c >>> om >>> >>_______________________________________________ >>Mapstraction mailing list >>Mapstraction at lists.mapstraction.com >>http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstra >>ction.com >> > >_______________________________________________ >Mapstraction mailing list >Mapstraction at lists.mapstraction.com >http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstra >ction.com >
Attempting to get mapstraction demos going with microsoft virtual earth I have a different problem which seems to be nothing to do with mapstraction but is due to the fact that the js that loads the map cannot be inside a div. So www.yvonnesplants.co.uk/ms1.html works but www.yvonnesplants.co.uk/ms2.html pops up an error ''Internet Explorer cannot open the Internet site www.yvonnesplants.co.uk/ms2.html''. Both are ok in FF I get the same error with the mapstraction demos, moving the js to the end of the body fixes it. Does this make any sense to anyone? I get the same symptom with IE6 and IE7 Colin
Due to a missing dot the final paragraph below is ambuiguous. It should have read: Both are ok in FF. I get the same error in IE with the mapstraction demos, moving the js to the end of the body fixes it. Does this make any sense to anyone? I get the same symptom with IE6 and IE7. Colin>-----Original Message----- >From: mapstraction-bounces at lists.mapstraction.com >[mailto:mapstraction-bounces at lists.mapstraction.com] On Behalf >Of Colin and Yvonne Law >Sent: 05 June 2008 11:50 >To: mapstraction at lists.mapstraction.com >Subject: Re: [Mapstraction] IE7 Problems > >Attempting to get mapstraction demos going with microsoft >virtual earth I have a different problem which seems to be >nothing to do with mapstraction but is due to the fact that >the js that loads the map cannot be inside a div. >So www.yvonnesplants.co.uk/ms1.html works but >www.yvonnesplants.co.uk/ms2.html pops up an error ''Internet >Explorer cannot open the Internet site >www.yvonnesplants.co.uk/ms2.html''. Both are ok in FF I get the >same error with the mapstraction demos, moving the js to the >end of the body fixes it. Does this make any sense to anyone? >I get the same symptom with IE6 and IE7 > >Colin > >_______________________________________________ >Mapstraction mailing list >Mapstraction at lists.mapstraction.com >http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstra >ction.com >