# Yahoo Flash Maps API - &mag Parameter

**URL:** <https://forum.kirupa.com/t/yahoo-flash-maps-api-mag-parameter/256799>\
**Category:** flash\
**Created:** [April 7, 2008, 2:44pm UTC](https://forum.kirupa.com/t/yahoo-flash-maps-api-mag-parameter/256799 "2008-04-07T14:44:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nixon](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@nixon](https://forum.kirupa.com/u/nixon)\
**Post date:** [April 7, 2008, 2:44pm UTC](https://forum.kirupa.com/t/yahoo-flash-maps-api-mag-parameter/256799/1 "2008-04-07T14:44:29Z")

</div>

I’ve put together a map that when you click a marker, it pops up a  
“directions” box. When you enter your info and hit send, it sends this  
string to yahoo:

getURL("[URL=“[http://maps.yahoo.com/beta/index.php#mvt=m&q2=1568+Spring+Hill+Road+McLean+VA+&mag=10&q1=](http://maps.yahoo.com/beta/index.php#mvt=m&q2=1568+Spring+Hill+Road+McLean+VA+&mag=10&q1=)”][http://maps.yahoo.com/beta/index.php#mvt=m&q2=1568+Spring+Hill+Road+McLe](http://maps.yahoo.com/beta/index.php#mvt=m&q2=1568+Spring+Hill+Road+McLe)  
an+VA+&mag=10&q1="+addressText.text+"+"+cityText.text+"+"+stateText.text+"+"+zip  
Text.text,"\_blank");

This works and populates the correct items in maps, however, it  
doesn’t pass the &mag=10 part of the string, sort of. Initially (if  
you watch the URL) its there, but then defaults to &mag=5 once the url  
is finished loading.

Any idea of what might cause this? Can I force that mag=10 somehow?

Thanks in advance!
