Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

yws-maps · Yahoo! Maps Developer Community

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 4318
  • Category: Internet
  • Founded: Jun 9, 2005
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 5903 - 5932 of 7492   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#5903 From: "Chris" <swankinnovations@...>
Date: Tue Sep 4, 2007 11:35 pm
Subject: XML Format for Polygons
maptechdude
Send Email Send Email
 
Hello all -- new to the group.  Playing with my first yahoo maps (via
Flash and ActionScript) and
ran into some thin documentation regarding polygons.

The API documentation claims that PolylineOverlay: "allows developers to
plot points, draw lines and fill shapes"  I want to create fill shapes.

The XML examples show how to draw a line and a curve.  Neat... but how
do you draw a filled shape?

After some messing around, here's what I came up with (it works but
strikes me as "wrong")...

    <root>
      <!--DRAW Shape FROM BOSTON > SEATTLE > PHOENIX > ORLANDO -->
      <style>
        <thickness>3</thickness>
        <color>0x0066FF</color>
        <alpha>50</alpha>
        <fillcolor>0x000000</fillcolor>
        <fillstyle>solid</fillstyle>
        <fillalpha>30</fillalpha>
      </style>
      <move>
        <lat>42.392631</lat><lon>-71.107910</lon>
      </move>
      <line>
        <points>
          <point><lat>47.635784</lat><lon>-122.39209</lon></point>
          <point><lat>33.432759</lat><lon>-112.019365</lon></point>
          <point><lat>28.435804</lat><lon>-81.324938</lon></point>
        </points>
      </line>
    </root>

Is it really necessary to define the start/end point using the <move>
elements like this?

I've got to believe there's a more sensible way to define the whole
shape in a single <line>, or better yet, <shape> element.

-Chris



[Non-text portions of this message have been removed]

#5904 From: "onemoreryan" <onemoreryan@...>
Date: Wed Sep 5, 2007 1:37 am
Subject: Re: Generating static maps with *many* markers
onemoreryan
Send Email Send Email
 
I'm also looking at a similar problem -- I'm generating a map of fire
hydrants for a city, and needing to color-code them by water pressure.
There are about 2,500 points. I can get the map to render via the
Flash API, but it takes about 7 minutes for all the points to load.

Originally I was loading them out of a database, but I switched to a
flat list to even get to this point.

What I'd really like to find is a way to dynamically load only those
points that are within the map bounds that a user is viewing, but I'm
not sure how to approach the code for that. Has anyone seen something
like that?

#5905 From: "chelya" <chelya@...>
Date: Mon Sep 3, 2007 2:34 am
Subject: GeoRSS feed does not accept "+" in the query string
chelya
Send Email Send Email
 
The following rss works:

map.addOverlay(new
YGeoRSS('http://api.maps.yahoo.com/ajax/examples/xml/rss2.xml?a=a%20b'));

The following rss does not work:

map.addOverlay(new
YGeoRSS('http://api.maps.yahoo.com/ajax/examples/xml/rss2.xml?a=a+b'));

"+" can be used the same way as "%20" as long as we are in the query
string.
Is this a bug?

#5906 From: "Chris" <swankinnovations@...>
Date: Wed Sep 5, 2007 3:20 am
Subject: Interacting with Polygons
maptechdude
Send Email Send Email
 
Just discovered the Flash version of Yahoo maps and am looking to leave
my Google stuff behind for Flash's ability to handle vector shapes.

I'm hoping to create a set of polygons for the user to interact with.
This means that I need to handle onRollOver, onRollOut, and onRelease
events.  It also means that I need to change the properties of the
polygon (colors and opacity).

Anyone have a clue as to how to detect these events or change these
properties?

I'd love to be able to just:

      var poly = new PolylineOverlay("http://path/to/my/file.xml");
      myMap.addOverlay(poly);
      poly.onRollOver = highlight; (or maybe poly.mc.onRollOver...)
      poly.onRollOut = normal;

      function highlight() {
        this._alpha = 60;
      }

      function normal() {
        this._alpha = 10;
      }

But no such luck, obviously.

How do you get at the MC for a PolygonOverlay?

Now, I can see that the first PolygonOverlay, resides at:
_level0.myMap.map.overlayContainer.overlayoverlay_0 and, using this, I
can set it's color and opacity like any flash MC object.  But I can't
figure out how to capture mouse actions that way.  (And besides, I'd
hate to write any code relying on the underlying -- and unsupported --
objects).

Seems like using the standard PolylineOverlay would be the ideal way but
I'll consider anything at this point -- even creating my own layer on
top of the map to hold my own custom polygons (but I'd need them to
scale and move in response to zoom and pan).

Ideas folks?



[Non-text portions of this message have been removed]

#5907 From: "gobillsshiznit" <ed.dempsey@...>
Date: Wed Sep 5, 2007 1:29 pm
Subject: Re: Set Map Bounds
gobillsshiznit
Send Email Send Email
 
The code is actually in a function.  I'm sending coordinates from a
GIS program (ArcGIS) to a windows form that has a Web browser control
in it.  When a user changes their extent within ArcGIS, the
coordinates of their new extent is sent to the web page and Yahoo's
display is updated:

function ZoomToArcGISMapExtent(ullat, ullon, urlat, urlon, lrlat,
lrlon, lllat,lllon)
         {
             map.removeOverlay(poly1);

             var cPT1 = new YGeoPoint(ullat,ullon);
		     var cPT2 = new YGeoPoint(urlat,urlon);
		     var cPT3 = new YGeoPoint(lrlat,lrlon);
		     var cPT4 = new YGeoPoint(lllat,lllon);
		     // args: array of pts, color, width, alpha
		     poly1 = new YPolyline([cPT1,cPT2,cPT3,cPT4,cPT1],'red',7,0.7);
		     map.addOverlay(poly1);

		     var zoomAndCenter =
map.getBestZoomAndCenter([cPT1,cPT2,cPT3,cPT4,cPT1]);
			 map.drawZoomAndCenter(zoomAndCenter.YGeoPoint,zoomAndCenter.zoomLevel);

         }




--- In yws-maps@yahoogroups.com, "brusca_28" <brucel@...> wrote:
>
> I assume the below code goes into the OnInit listener?
>
>
myMap.addEventListener(com.yahoo.maps.api.flash.YahooMap.EVENT_INITIALIZE,
> onInit);
>
> Can you maybe clarify this a bit more with some complete sample code?
>
> Cheers
>
>
> --- In yws-maps@yahoogroups.com, "gobillsshiznit" <ed.dempsey@> wrote:
> >
> > --- In yws-maps@yahoogroups.com, "gobillsshiznit" <ed.dempsey@> wrote:
> > >
> > > I realize you can get the current map's bounding box through
> > > map.getBoundsLatLon, has anyone implemented a way to set the map
> > > extent, a setBoundsLatLon if you will?
> > >
> > > map.drawZoomAndCenter doesn't do it for me.  I want to be able
to set
> > > the current map view to a set of 4 coordinates.  Thanks.
> > >
> >
> > Solution is actually quite simple.  I sent my array of points to the
> > getBestZoomAndCenter method, and then use that in drawZoomAndCenter...
> >
> > var zoomAndCenter =
> map.getBestZoomAndCenter([cPT1,cPT2,cPT3,cPT4,cPT1]);
> >
> map.drawZoomAndCenter(zoomAndCenter.YGeoPoint,zoomAndCenter.zoomLevel);
> >
>

#5908 From: "jake omaits" <omaits_is@...>
Date: Wed Sep 5, 2007 4:01 pm
Subject: Re: CustomPOI-like Marker or YMarker Title in Ajax API???
omaits44
Send Email Send Email
 
To anyone that is interested... I did find a work around for this problem.

I created a custom (ashx) handler that dynamically generates an image. It
accepts the text via the querystring and creates a marker. I attached a zip
file that contains the hander, 3 image files, and an example. It is written
in .Net 2.0. It also uses the csImageFile object purchased from chestysoft
(http://www.chestysoft.com/imagefile/default.asp). You could easily re-write
the handler to use the .Net classes instead.

If anyone comes up with a better solution, please, let me know.


> >From: "Michael" <mfw24@...>
> >Reply-To: yws-maps@yahoogroups.com
> >To: yws-maps@yahoogroups.com
> >Subject: [yws-maps] Re: CustomPOI-like Marker or YMarker Title in Ajax
> >API???
> >Date: Fri, 31 Aug 2007 19:27:34 -0000
> >
> >There is an addLabel method for the YMarker object.
> >
> >http://developer.yahoo.com/maps/ajax/V3.7/reference.html#YMarker
> >
> >
> >simply call it with the text you wish to put in there.
> >
> >Having said this, there is a bug associated with this (that I've
> >reported and I am waiting to hear back on).  When you add text longer
> >then 1 or 2 characters, the text wraps and it looks really bad.
> >
> >What is happening is that the marker isn't auto-expanding like it does
> >with CustomPOI.
> >
> >Let me know if you figure out a fix or hear about one.
> >
> >Good Luck!!
> >
>
>_________________________________________________________________
>Test your celebrity IQ.  Play Red Carpet Reveal and earn great prizes!
>http://club.live.com/red_carpet_reveal.aspx?icid=redcarpet_hotmailtextlink2
>
>
>
>_______________________________________________________________________________\
_____
>Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated
>for today's economy) at Yahoo! Games.
>http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow

_________________________________________________________________
Test your celebrity IQ.  Play Red Carpet Reveal and earn great prizes!
http://club.live.com/red_carpet_reveal.aspx?icid=redcarpet_hotmailtextlink2


[Non-text portions of this message have been removed]

#5909 From: "Ernest Morariu" <ernest@...>
Date: Wed Sep 5, 2007 10:03 am
Subject: Yahoo!Maps Simple API (novice) question
ernest_morariu
Send Email Send Email
 
Hi everybody !

The Yahoo!Maps Simple Api is limited to US and Canada locations only.

Is that true ?

Thank you !
Ernest

#5910 From: "misterbighead" <misterbighead@...>
Date: Wed Sep 5, 2007 2:23 pm
Subject: how can I remove roads?
misterbighead
Send Email Send Email
 
I'm trying to make a simple, elegant map program with rich Yahoo Maps
data humming beneath the surface.  Is there any way to turn off layers
such as roads, to create a less cluttered look?  I can't find it in the
documentation.  I'm using Actionscript 2.0.  Thanks in advance for any
help!

Peter

#5911 From: "sofazeit" <melloko@...>
Date: Wed Sep 5, 2007 2:03 pm
Subject: #1023: Stack overflow
sofazeit
Send Email Send Email
 
Hello,

do yahoo get a solution of that debug error:

Error #1023: Stack overflow occurred. at
flash.external::ExternalInterface$/call()

greets, dirk

#5912 From: "Alan Brown" <adbrown@...>
Date: Wed Sep 5, 2007 5:06 pm
Subject: RE: how can I remove roads?
adbrown1967
Send Email Send Email
 
There is a set style for Yahoo! maps - the map tiles are prerendered.  While
style decisions were made with the goal of supporting multiple uses -
including mashups - they had to have enough labels to make them useful for
driving directions.  This is true of any tiled map web service, to my
knowledge.



-Alan



   _____

From: yws-maps@yahoogroups.com [mailto:yws-maps@yahoogroups.com] On Behalf
Of misterbighead
Sent: Wednesday, September 05, 2007 7:24 AM
To: yws-maps@yahoogroups.com
Subject: [yws-maps] how can I remove roads?



I'm trying to make a simple, elegant map program with rich Yahoo Maps
data humming beneath the surface. Is there any way to turn off layers
such as roads, to create a less cluttered look? I can't find it in the
documentation. I'm using Actionscript 2.0. Thanks in advance for any
help!

Peter





[Non-text portions of this message have been removed]

#5913 From: "Alan Brown" <adbrown@...>
Date: Wed Sep 5, 2007 5:10 pm
Subject: RE: Yahoo!Maps Simple API (novice) question
adbrown1967
Send Email Send Email
 
I don't think it should be . the backend geocoder has been updated to
support European addresses as well, so assuming that traffic to the simple
api has been re-routed to that, it should handle European addresses . I
think.



Are you saying that based on what was in the simple api documentation?  It
may have not been updated.



-Alan



   _____

From: yws-maps@yahoogroups.com [mailto:yws-maps@yahoogroups.com] On Behalf
Of Ernest Morariu
Sent: Wednesday, September 05, 2007 3:04 AM
To: yws-maps@yahoogroups.com
Subject: [yws-maps] Yahoo!Maps Simple API (novice) question



Hi everybody !

The Yahoo!Maps Simple Api is limited to US and Canada locations only.

Is that true ?

Thank you !
Ernest





[Non-text portions of this message have been removed]

#5914 From: "Andrei Ionescu" <andrei.ionescu@...>
Date: Fri Sep 7, 2007 4:23 am
Subject: IMPORTANT HOW TO SET PARAM NAME="WMode" in new Map routine.
escu_andrei
Send Email Send Email
 
Hi,



I was wondering how to change the Wmode from Window to Opaque or Transparent
in Javascript Flash version of the map.



After the new map routine is called, i can change this option of the embed
object, but doen't affect the flash player, because is loading those vars at
the creation of it.





Maybe in next release, either you can make-it Opaque instead of Window or
put some options to the new map routine, something like new
map(containder_id, appid,........, flashvars)



Where flashvars should be the parameter and value.



Thank you,

Andrei Ionescu









[Non-text portions of this message have been removed]

#5915 From: "misterbighead" <misterbighead@...>
Date: Fri Sep 7, 2007 3:00 pm
Subject: Extracting latitude from a LatLon object
misterbighead
Send Email Send Email
 
Hi. For a given LatLon(latitude,longitude) that is returned by, say, a
proximity search, how can I extract the individual latitude and
longitude into their own variables y and x?

I know this should be simple, but so far have had no luck.  Thanks!

Peter

#5916 From: "Jim Hamilton" <jim@...>
Date: Fri Sep 7, 2007 4:15 pm
Subject: Re: Extracting latitude from a LatLon object
tetonpost
Send Email Send Email
 
Try this:

function whatever(oEvent)  {
if (!oEvent) {return;}
var lat  = oEvent.latlon.y.toString();
var lon  = oEvent.latlon.x.toString();
...
}

--- In yws-maps@yahoogroups.com, "misterbighead" <misterbighead@...>
wrote:
>
> Hi. For a given LatLon(latitude,longitude) that is returned by,
say, a
> proximity search, how can I extract the individual latitude and
> longitude into their own variables y and x?
>
> I know this should be simple, but so far have had no luck.  Thanks!
>
> Peter
>

#5917 From: "Alexander Ransome" <alex@...>
Date: Fri Sep 7, 2007 12:27 pm
Subject: Whats wrong with this code?
alexransome
Send Email Send Email
 
this was typed into flash copied from a tutorial in webdesigner
magazine. i got to the oint in the tutorial that said run the script
to see it works. Guess what? It didn't. I`m new to flash so am well
stuck on this one. Please help!!

System.security.allowDomain("http://maps.yahooapis.com/");
import com.yahoo.maps.markers.CustomPOIMarker;
import com.yahoo.maps.tools.PanTool;
import com.yahoo.maps.widgets.ZoomBarWidget;
import com.yahoo.maps.widgets.SatelliteControlWidget;
import com.yahoo.maps.Latlon;
import com.yahoo.maps.Overlay;
cross_mc._visible=false;
entry_mc._visible=false;
myMap.addEventListener
(com.yahoo.maps.api.flash.YahooMap.EVENT_INITILIZE,onInit);
var markerXML:xml = new XML();
markerXML.ignoreWhite = true;
function onInit(event:Object):Void {
	 var PanTool:PanTool = new PanTool ();
	 myMap.addTool(panTool,true);
myMap.addWidget(new SatelliteControlWidget());
	 var zoom:ZoomBarWidget = new
ZoomBarWidget();
	 myMap.addWidget(zoom);
	 var points = myMap.getCenter();
	 convert(points);
	 markerXML.onLoad = function(success)
{
if (success) {
	 addmarker(this);
}};
markerXML.load("locs.xml");
function addMarkers(xml:XML:Void) }
var total = xml.firstChild.childNodes.length;
for (var i = 0; i<total; i++) {
var lat:Number = xml.firstChild.childNodes[i].
childNodes[0].firstChild.nodeValue;
var lan:Number = xml.firstChild.childNodes[i].
var date:String = xml.firstChild.childNodes[i].childNodes
[2].firstChild.nodeValue;
var info = xml.firstChild.childNodes[i].childNodes
[3].firstChild.nodeValue;
var desc = xml.firstChild.childNodes[i].childNodes
[4].firstChild.nodeValue;
var markerData:Object = {index:date, title:
info, description:desc, markerColor:0x000000,
strokeColor:0xFFFFFF};
myMap.addMarkerbyLatLon(CustomPOIMarker,new
LatLon(lat, lan),markerData);
	 }
{
myMap.addEventListener(com.yahoo.maps.api.
flash.YahooMap.EVENT_MOVE,onMapMove;
function onMapMove() {
	 var points = myMap.getCenter();
	 convert(points);
}
var _LatLon:Object;
var newLat:Number;
var newLon:Number;
function convert(points:Object) {
		 _latlon = new LatLon(points.lat, points.lon);
		 newLat=points.lat;
		 newlon=points.lon;

}

#5918 From: "dsuhpublic" <dsuhpublic@...>
Date: Thu Sep 13, 2007 7:24 pm
Subject: Re: Return Hybrid image with Yahoo Map Image API
dsuhpublic
Send Email Send Email
 
Is there any intention to provide satellite map images using the API
in the future?
I need this so that I can retrieve satellite maps directly from the
client side using REST.
It would be a very welcome addition to the map images API.


--- In yws-maps@yahoogroups.com, "Alan Brown" <adbrown@...> wrote:
>
> Satellite images have to be stitched together; map images can be
generated
> on the fly.  The PNGs returned from the mapimage web service happen
to be
> tiles stitched together, but they don't have to be and may not in
the
> future.  The ability to have single map images of variable size was
needed
> internally, and they decided to expose this capability to API
users.  A web
> service to stitch satellite images - which are JPEGs - was not
needed
> internally, so it's not there.  I think that's the rationale for
what's been
> done.
>
>
>
> Any thoughts?
>
>
>
> -Alan
>
>
>
>   _____
>
> From: yws-maps@yahoogroups.com [mailto:yws-maps@yahoogroups.com] On
Behalf
> Of S
> Sent: Friday, April 27, 2007 11:13 AM
> To: yws-maps@yahoogroups.com
> Subject: [yws-maps] Re: Return Hybrid image with Yahoo Map Image API
>
>
>
> --- In yws-maps@yahoogroup <mailto:yws-maps%40yahoogroups.com>
s.com, "Zach
> Graves" <zachg@> wrote:
>
> > The map image API only supports the regular map views.
>
> > Thanks
> > Zach
>
> Zach,
> Any idea why the API cannot return hybrid maps? Is there a
workaround?
> I have to use the API as I import the maps into a mashup on a server
> and then serve it with SharpMap.
> Thanks,
> Step.
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>

#5919 From: "abhishakes2001" <abhishakes2001@...>
Date: Thu Sep 13, 2007 9:39 pm
Subject: 'open'/'expand' a Custom POI Marker in Flex 2
abhishakes2001
Send Email Send Email
 
I'm using the following method to create a custom POI marker in Flex 2:

mapController.addCustomPOIMarker(Address, number, name,
formattedaddress, 0x990099, 0xFFFFFF);

But this method does not return a reference to the created marker. How
can I 'open/close' or 'expand/collapse' this marker (say in response to
an event) after it is created?

TIA for all the help.

#5920 From: "escu_andrei" <andrei.ionescu@...>
Date: Fri Sep 14, 2007 9:15 pm
Subject: IMPORTANT HOW TO SET PARAM NAME="WMode" in new Map routine.
escu_andrei
Send Email Send Email
 
Hi,

I was wondering how to change the Wmode from Window to Opaque or
Transparent in Javascript Flash version of the map.


After the new map routine is called, i can change this option of the
embed object, but doesn't affect the flash player, because is loading
those vars at the creation of it.


Maybe in next release, either you can make-it Opaque instead of Window
or put some options to the new map routine, something like new
map(containder_id, appid,........, flashvars), where flashvars should
be the parameter and value.


Thank you,

Andrei Ionescu

#5921 From: "makanikai7" <mikemcdougall@...>
Date: Sat Sep 15, 2007 12:59 pm
Subject: GeoRSS conversion tool
makanikai7
Send Email Send Email
 
Hi, My company www.brightisolutions.com
<http://www.brightisolutions.com/>  recently released a product called
GeoFeeder that converts traditional GIS format files to GeoRSS. It works
great with Virtual Earth.  You can easily put vector data from kml/kmz,
autocad, shape, MapInfo and GML files onto Yahoo after conversion.
Please check it out when you get a chance.   Thanks, Mike


[Non-text portions of this message have been removed]

#5922 From: "peaceporridgeinapot" <cretney@...>
Date: Sat Sep 15, 2007 2:10 pm
Subject: Maps Ajax and GeoRSS XML
peaceporridg...
Send Email Send Email
 
Hello,

I am having a problem with addOverly using GeoRSS XML and my ZoomLevel.

I successfully draw the map with my desired zoom level with:
map.drawZoomAndCenter(zip,5)

The problem happens after I call:
map.addOverlay(new YGeoRSS(xml_url))

This zooms the map down to the street level despite having
"<ymaps:ZoomLevel>7</ymaps:ZoomLevel>" in my GeoRSS XML.

Any help is greatly appreciated.

Here is the entire XML file:
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
xmlns:ymaps="http://api.maps.yahoo.com/Maps/V1/AnnotatedMaps.xsd">
<channel>
    <title>Wheels-n-Waves Dealership Map XML</title>
    <link><![CDATA[http://www.gwinnettplaceford.com]]></link>
    <description>Gwinnett Place Ford map</description>
    <ymaps:ZoomLevel>7</ymaps:ZoomLevel>
    <ymaps:Groups>
       <Group>
          <Title>Gwinnett Place Ford</Title>
          <Id>wnw</Id>
       </Group>
    </ymaps:Groups>
    <item>
       <title>Gwinnett Place Ford</title>
       <link><![CDATA[http://www.gwinnettplaceford.com]]></link>
       <description>Gwinnett Place Ford</description>
       <ymaps:Address>3230 Satellite Blvd.</ymaps:Address>
       <ymaps:CityState>Duluth, GA</ymaps:CityState>
       <ymaps:Zip>30096</ymaps:Zip>
       <ymaps:Country>us</ymaps:Country>
       <ymaps:GroupId>wnw</ymaps:GroupId>
    </item>
</channel>
</rss>

Thanks for your time,
Jimmy

#5923 From: "Praveen" <praveen@...>
Date: Thu Sep 13, 2007 9:02 pm
Subject: International addresses
praveen_tx
Send Email Send Email
 
Hi,

The new Ajax api states that it supports the entire globe, but then
how come it does not map any addresses from India that I have tried?
Please advise.

Praveen

#5924 From: Mark Miao <tomcattyy888@...>
Date: Mon Sep 17, 2007 5:11 pm
Subject: Application ID
tomcattyy888
Send Email Send Email
 
Hello there,
   I start the process applying a application ID and Got a string of text, but
how can I continue the process, from where in the shash 8 should I apply the
key.
   Please help with a link to answers for these process. I can not simply find
them. Thanks

   Mark



---------------------------------
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out.

[Non-text portions of this message have been removed]

#5925 From: "tomcattyy888" <tomcattyy888@...>
Date: Mon Sep 17, 2007 6:36 pm
Subject: Problem with the AS3 wrapper
tomcattyy888
Send Email Send Email
 
Hello everyone, I downloaded the as3 wrapper and When I run the
application I got a small square about 20pixelx20pixel. I try to open
the fla in flash 8, it still shows a small box. Can you tell me what
went wrong? Thanks

#5926 From: "tomcattyy888" <tomcattyy888@...>
Date: Mon Sep 17, 2007 7:08 pm
Subject: Adjust the map size
tomcattyy888
Send Email Send Email
 
Hello members,
  I can open the as2 map with flex, but how can I adjust the original
map size, when I adjust the size of the flash movie in flash 8 with
modify document to 800x600, the map keep same size as 600x480. Thanks
in advance.

Mark

#5927 From: "tomcattyy888" <tomcattyy888@...>
Date: Mon Sep 17, 2007 7:49 pm
Subject: Re: Problem with the AS3 wrapper
tomcattyy888
Send Email Send Email
 
--- In yws-maps@yahoogroups.com, "tomcattyy888" <tomcattyy888@...>
wrote:
>
> Hello everyone, I downloaded the as3 wrapper and When I run the
> application I got a small square about 20pixelx20pixel. I try to
open
> the fla in flash 8, it still shows a small box. Can you tell me
what
> went wrong? Thanks
>
Actually I have more problems to open the as2 movie, following is the
error messages, thanks

**Error** Symbol=mapClip, layer=Layer 2, frame=1:Line 437: There is
no property with the name 'EVENT_API_SEARCH_SUCCESS'.
     			 local.removeEventListener
(com.yahoo.maps.overlays.LocalSearchOverlay.EVENT_API_SEARCH_SUCCESS,
apiSearchSuccess);

**Error** Symbol=mapClip, layer=Layer 2, frame=1:Line 438: There is
no property with the name 'EVENT_WIDGET_ADDED'.
     			 local.removeEventListener
(com.yahoo.maps.overlays.LocalSearchOverlay.EVENT_WIDGET_ADDED,
widgetAdded);

**Error** Symbol=mapClip, layer=Layer 2, frame=1:Line 448: There is
no property with the name 'EVENT_API_SEARCH_SUCCESS'.
     		 local.addEventListener
(com.yahoo.maps.overlays.LocalSearchOverlay.EVENT_API_SEARCH_SUCCESS,
apiSearchSuccess);

**Error** Symbol=mapClip, layer=Layer 2, frame=1:Line 449: There is
no property with the name 'EVENT_WIDGET_ADDED'.
     		 local.addEventListener
(com.yahoo.maps.overlays.LocalSearchOverlay.EVENT_WIDGET_ADDED,
widgetAdded);

**Error** Symbol=mapClip, layer=Layer 2, frame=1:Line 527: There is
no property with the name 'EVENT_API_SEARCH_SUCCESS'.
     		 local.removeEventListener
(com.yahoo.maps.overlays.LocalSearchOverlay.EVENT_API_SEARCH_SUCCESS,
apiSearchSuccess);

**Error** Symbol=mapClip, layer=Layer 2, frame=1:Line 528: There is
no property with the name 'EVENT_WIDGET_ADDED'.
     		 local.removeEventListener
(com.yahoo.maps.overlays.LocalSearchOverlay.EVENT_WIDGET_ADDED,
widgetAdded);

**Error** Symbol=mapClip, layer=Layer 2, frame=1:Line 573: There is
no property with the name 'EVENT_API_SEARCH_SUCCESS'.
     	 localSearchWidget.addEventListener
(com.yahoo.maps.overlays.LocalSearchOverlay.EVENT_API_SEARCH_SUCCESS,
apiSearchSuccess);

**Error** Symbol=mapClip, layer=Layer 2, frame=1:Line 574: There is
no property with the name 'EVENT_WIDGET_ADDED'.
     	 localSearchWidget.addEventListener
(com.yahoo.maps.overlays.LocalSearchOverlay.EVENT_WIDGET_ADDED,
widgetAdded);

**Error** Symbol=mapClip, layer=Layer 2, frame=1:Line 579: There is
no property with the name 'EVENT_API_SEARCH_SUCCESS'.
     	 localSearchWidget.removeEventListener
(com.yahoo.maps.overlays.LocalSearchOverlay.EVENT_API_SEARCH_SUCCESS,
apiSearchSuccess);

**Error** Symbol=mapClip, layer=Layer 2, frame=1:Line 580: There is
no property with the name 'EVENT_WIDGET_ADDED'.
     	 localSearchWidget.removeEventListener
(com.yahoo.maps.overlays.LocalSearchOverlay.EVENT_WIDGET_ADDED,
widgetAdded);

Total ActionScript Errors: 10 	 Reported Errors: 10

#5928 From: "tomcattyy888" <tomcattyy888@...>
Date: Mon Sep 17, 2007 8:50 pm
Subject: Re: Adjust the map size
tomcattyy888
Send Email Send Email
 
--- In yws-maps@yahoogroups.com, "tomcattyy888" <tomcattyy888@...>
wrote:
>
> Hello members,
>  I can open the as2 map with flex, but how can I adjust the original
> map size, when I adjust the size of the flash movie in flash 8 with
> modify document to 800x600, the map keep same size as 600x480. Thanks
> in advance.
>
> Mark
>
My bad, I found the yahoo map layer been set as locked that why I can
not change the map size. after uncheck the lock no problem at all.

#5929 From: "aberios" <yahoogroups433954895403122344-email@...>
Date: Tue Sep 18, 2007 9:25 pm
Subject: Re: Polylines Drag
aberios
Send Email Send Email
 
Bump

--- In yws-maps@yahoogroups.com, "aberios" <yahoo-email@...> wrote:
>
> Does anyone know how to drag a polyline on a map?  I would like to
> create a rectangle that is expandable by dragging.
>
> Thanks
>

#5930 From: "Chris" <swankinnovations@...>
Date: Wed Sep 19, 2007 12:22 am
Subject: Re: Interacting with Polygons
maptechdude
Send Email Send Email
 
Anyone out there?

I can't be the only one to have run into this.

-Chris

#5931 From: "Randy Troppmann" <randy.troppmann@...>
Date: Wed Sep 19, 2007 3:33 pm
Subject: Re: Re: Interacting with Polygons
randy.troppmann
Send Email Send Email
 
Hi Chris,

I have never used the polyline overlay so I can't really help you with
that. The trick is to find a context into which you can add your own
movieclips so that you have a reference to it and the mapping engine
keeps your graphics in geo-context. What I do is add markers by
library linkage (which are bound to my custom class) which call back
to main when instantiated passing on its own reference. That way I can
build whatever I want and bring the full Flash API to bear on the MC.
My mashup is www.runningmap.com and you can see this by adding a POI
or a photoPOI or creating a route that gets connected with lines. Have
a look in the debugger where markers get placed, it will take some
experimentation but once you get it you are off to the races!

Randy

On 9/18/07, Chris <swankinnovations@...> wrote:
>
>
>
>
>
>
> Anyone out there?
>
>  I can't be the only one to have run into this.
>
>  -Chris
>
>

#5932 From: "jim_beardsworth" <jim_beardsworth@...>
Date: Thu Sep 20, 2007 6:22 am
Subject: Re: Can't get application id?
jim_beardsworth
Send Email Send Email
 
not sure if anyone actually got a solution to this :)

to recap https://developer.yahoo.com/wsregapp/index.php or variants do
not work and send you to a dead link

The solution, get rid of the secure
https://developer.yahoo.com/wsregapp/index.php

How this has not been changed since this post was created is beyond
me, as shows a worrying lack of support.

Oh I could have been doing something completely incorrect and await to
be flamed,

regards Jim



--- In yws-maps@yahoogroups.com, "ivanodonoghue" <ivanodonoghue@...>
wrote:
>
> Thanks Alan.
>
> --- In yws-maps@yahoogroups.com, "Alan Brown" <adbrown@> wrote:
> >
> > I'm trying to find the correct person to contact.
> >
> >
> >
> > -Alan
> >
> >
> >
> >   _____
> >
> > From: yws-maps@yahoogroups.com [mailto:yws-maps@yahoogroups.com] On
> Behalf
> > Of mosaicwebdesign
> > Sent: Monday, July 30, 2007 2:06 AM
> > To: yws-maps@yahoogroups.com
> > Subject: [yws-maps] Re: Can't get application id?
> >
> >
> >
> > --- In yws-maps@yahoogroup <mailto:yws-maps%40yahoogroups.com>
> s.com,
> > "ivanodonoghue" <ivanodonoghue@>
> > wrote:
> > >
> > > Hi Alan,
> > >
> > > I'm afraid I'm having the same issue with the link you quoted -
> > > "Internet Explorer cannot display the webpage".
> > >
> > > --- In yws-maps@yahoogroup <mailto:yws-maps%40yahoogroups.com>
> s.com,
> > "Alan Brown" <adbrown@> wrote:
> > > >
> > > > I played with this a little - the link below redirected me to
> > > >
> > > >
> > > >
> > > > https://developer.
> <https://developer.yahoo.com/wsregapp/index.php>
> > yahoo.com/wsregapp/index.php
> > > >
> > > >
> > > >
> > > > and I was able to get an appid. This page is different from
> what
> > > it used to
> > > > be ... it wasn't first clear to me, but they request that you
> type
> > > in the
> > > > same e-mail address twice (not two different addresses).
> > > Otherwise, it
> > > > worked fine for me.
> > > >
> > > >
> > > >
> > > > I am internal to Yahoo!, so that could conceivable affect my
> > > access. Let
> > > > know if there are any problems, and I'll alert the appropriate
> > > people.
> > > >
> > > >
> > > >
> > > > -Alan
> > > >
> > > >
> > > >
> > > > _____
> > > >
> > > > From: yws-maps@yahoogroup <mailto:yws-maps%40yahoogroups.com>
> s.com
> > [mailto:yws-maps@yahoogroup <mailto:yws-maps%40yahoogroups.com>
> s.com] On
> > > Behalf
> > > > Of ivanodonoghue
> > > > Sent: Thursday, July 26, 2007 3:42 AM
> > > > To: yws-maps@yahoogroup <mailto:yws-maps%40yahoogroups.com>
> s.com
> > > > Subject: [yws-maps] Can't get application id?
> > > >
> > > >
> > > >
> > > > Trying to get an application id through this link
> > > > http://search.
> > > > <http://search.
> > <http://search.yahooapis.com/webservices/register_application>
> > yahooapis.com/webservices/register_application>
> > > > yahooapis.com/webservices/register_application
> > > > It comes up as a dead link every time. Anbody know whats up?
> > > >
> > > > Thanks.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > >
> > Alan
> >
> > I still can't get into the application ID screen. I have tried all
> > weekend. Could you help through your internal contacts?
> >
> > Steve
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>

Messages 5903 - 5932 of 7492   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help