none
Map Control Problem

    Question

  • Hello,

    Hoping for some help with a problem I am getting with the Map Control... only happening in IE from that I can tell. Works fine in Firefox...

    Basically, my site is a taxi comparison website and has a map on it showing the suggested route that the taxi should take...

    I have had a new front end written for me using the twitter bootstrap system to make it a responsive design.

    But the map is not displaying correctly in IE.

    The map fails to zoom in on the route that it has been sent.

    I have managed to find that it you resize the browser and then recalculate a new fare the map works fine.

    Can anyone suggest what is wrong and how i could fix it?

    The development site can be seen here: http://taxiroute.azurewebsites.net/

    Thanks

    Trev

    Friday, September 21, 2012 9:37 AM

Answers

  • ok. looks like this was my fault...

    i had messed around with the code hiding and showing the map after mike had first written the code.

    that is what broke it.

    mike has now fixed it by initialising the map in a different place.

    thanks for looking Ricky


    Monday, September 24, 2012 8:40 PM

All replies

  • any thoughts would be greatly appreciated. even a workaround?

    this is going to stop me being able to go live if i cannot fix it :(

    Sunday, September 23, 2012 7:04 PM
  • I've taken a look and it works in all versions of IE for me.

    http://rbrundritt.wordpress.com

    Sunday, September 23, 2012 9:41 PM
    Owner
  • Richard, It's not working for me in IE9 (9.0.8112.16421, Update Versions 9.0.9). The map just stays at the most zoomed out point.

    Chris Field - Mehdoh for Windows Phone

    Monday, September 24, 2012 9:45 AM
  • Hi Ricky,

    Thanks for looking at this..

    Its really strange because I have asked at least 5 different people to look at this and they, as Chris says above, are seeing the map fully zoomed out..

    Not sure where to go with this now as Im sure there is a problem somewhere and IE9 is too widely used to ignore.

    Trev


    Monday, September 24, 2012 10:16 AM
  • Ok, managed to reproduce it on IE9 only. First thing I notice is that you are not using the correct doctype or metadata tag in your web page. This is the number one cause of browser specific rendering issues. Use the doctype and metadata tag specified here: http://msdn.microsoft.com/en-us/library/gg427624.aspx You also haven't specified a width for the map which is likely to cause issues in calculating the best map view.

    http://rbrundritt.wordpress.com

    Monday, September 24, 2012 12:34 PM
    Owner
  • Hi Ricky,

    Thanks for the suggestions. It's been amended to reflect your comments but still doesn't zoom in on the route.

    Any ideas what might still be wrong?

    Thanks

    Trev

    Monday, September 24, 2012 1:22 PM
  • I'm unable to reproduce anymore. Try clearing your cache ctrl+F5

    http://rbrundritt.wordpress.com

    Monday, September 24, 2012 3:52 PM
    Owner
  • Are you still looking at the page in quirks mode?

    The site should start like this:

    After a search you get this:

    As you can see the map has the route but it's not zoomed into the right level or region.

    Quirks mode works but the rendering of the page is wrong.

    Regards,

    Mike (the other guy working on TR).

    Monday, September 24, 2012 4:03 PM
  • yep - thats exactly what im seeing.

    Trev

    Monday, September 24, 2012 4:05 PM
  • I'm not using Quirks mode. I've tried IE 7,8,9, and 10. It works on all of them now, although you may want to give your map a width of 100%.

    http://rbrundritt.wordpress.com

    Monday, September 24, 2012 5:58 PM
    Owner
  • So why are we getting different from you?
    Monday, September 24, 2012 7:48 PM
  • Hi Ricky,

    We are completely stumped this end... just cannot seem to get it working on seperate machines running ie9 or on our windows phones running ie9... works perfectly in all other browsers..

    its a real show stopper...

    i know its tricky for you to comment if you cannot reproduce it but there is definitely something wrong..

    Trev

    Monday, September 24, 2012 8:17 PM
  • ok. looks like this was my fault...

    i had messed around with the code hiding and showing the map after mike had first written the code.

    that is what broke it.

    mike has now fixed it by initialising the map in a different place.

    thanks for looking Ricky


    Monday, September 24, 2012 8:40 PM