This morning I tried to retrieve a map with Map It! and it didn't work. So I immediately went to work on fixing it. It didn't take long to track down the culprit of the problem. MapBlast has changed some of their URLs and forms.

The section that needs repair is between the database disconnect and the navigate command.

$dbh->disconnect(); my $loc="http://www.mapblast.com/myblastd/"; # The following lines have been split for readability if ($custs == 1) { $loc .= "createmap.d?remLoc=&AD4=USA&AD2=$street[0]&AD3=$csz[0]&se +lCategory=defaultCat"; $loc .= "&AIR=&E=ahV-jzkx2zJTnrUik5NBcHnqHTIJdm9rZN79CtIrBAeeodMgl +2b2trt_Mb5tbZCurQrHm"; $loc .= "83mt5yY3TIJdm2q459bb9X6F5SaApdx6S6l3Zofcz0nes5mfbCtcyn59F +QfmUv2e-5PxKXpHqmMw"; } else { $loc .= "getdd.d?&mapstyle=line"; # mapstyles are line and standar +d for my $i (1..2){ $loc .= "&AIR_$i=&AD4_$i=USA"; # This needs to change if you are + outside the US of A } $loc .= "&AD2_1=$street[0]&AD3_1=$csz[0]&AD2_2=$street[1]&AD3_2=$c +sz[1]&E=ahV-jdmSnOx7r"; $loc .= "nOPutSKTk0FweeodMgl2b2tk3v0K0isEB56h0yCXZva2u34xvm1tkK6tC +sebzea3nJjdMgl2barjn1"; $loc .= "tv1foXlJoCl3HpLqXdmh9zPSd6zmZ9sK4FezjK6Rnv_T8Sl66uKef6l84 +m3m45ODtYxvz3m45ODswxvz"; } $loc .= "&x=67&y=11"; # What are these for? Any value seems to work + though $ie->Navigate($loc);

In reply to Re: Map It! by Mr. Muskrat
in thread Map It! by Mr. Muskrat

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.