Route line not displayed in IE

Hi all,

Has anyone experienced a route highlight line not being displayed on a map under IE, although all the route points are correctly displayed

Works fine in FF (which is annoying!!!)

Thanks,

Gerry



Answer this question

Route line not displayed in IE

  • DLG007

    CSS removed, still does the same thing!!!
  • GTrz

    Found the problem!

    You have to include the META element in the header that declares the utf-8 charset:

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

    That nifty line is REQUIRED for rendering lines.

    Add that, and you should be all set.

    Cheers,

    Caleb


  • PublicError

    I know, silly me, changed it now.

    Again thanks to everyone for their help.

    Gerry


  • Rohit Parasharami

    Sounds weird to me too. I'll appreciate if somebody can post a sample where this happens. I'll like to see under which conditions and why this happens.

  • YMaod

    Is it possible then that the line is being affected by some CSS within the page

    I haven't been able to find any info for styling the line (color/thickness etc)

    Gerry


  • ku19832001

    This looks like a CSS error, but I'm not entirely sure where it's coming from. One of the reasons I think this is that IE and FF often handle CSS declarations slightly differently. Another is that "normally", the route displays just fine in IE.

    Just to test it, can you remark out your <style> references (I know, the page will be really ugly) just long enough to see if the route problem is fixed If it is, then we could try to dig deeper into the CSS file and see if you're setting a z-index or something that is causing the route to disappear.


  • navbhan

    Absolutely stunning!!!

    Thanks Caleb, that works, and thanks to everyone else that responded with help and suggestions.

    Many regards,

    Gerry


  • tenchyz

    Well at least I'm not the only person experiencing this!

    Just as a little test I drew a polyline on the map using the sample from the SDK and nothing appeared UNTIL I removed the SetMapView instruction and then it displayed correctly. Weird!!!


  • RMan54

    Federico, you can take a look at http://2006.bengeotigers.org.uk/ c=map.
  • Enkht

    Yes I have the same problem. Only IE. SDK works fine, Copy the simple route code to a local html file and it works ok. Some method call or CSS is my guess. I haven't had time to work it out.
    Let me know if you figure it out first.
    John.


  • thejez

    Never seen this yet in either 6 or 7 IE

  • 13117

    Awesome.

    Thanks Caleb.

    Gerry you gave the answer points to yourself not Caleb

    John.



  • Route line not displayed in IE