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: 4319
  • Category: Internet
  • Founded: Jun 9, 2005
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Messages 544 - 573 of 7492   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#544 From: "hankea100" <hank@...>
Date: Tue Nov 1, 2005 8:11 pm
Subject: upload data
hankea100
Send Email Send Email
 
I would like to build an interface that would allow an individual to
input data that will upload to the map and change the color of the
icons dependent upon the data uploaded.  Are there any examples of
anything like this?

Thanks,

Hank

#545 From: "jeffreymcmanus" <jeffreymcmanus@...>
Date: Thu Nov 3, 2005 6:13 am
Subject: NEW! Yahoo Maps Beta + New Maps APIs
jeffreymcmanus
Send Email Send Email
 
Masters of maps,

Tonight we released a new version of Yahoo! Maps with new APIs for
developers. With this release you have the ability to create and
manipulate Flash and AJAX maps, embed maps on your own Web site,
overlay new data sources including traffic and local search, and use
geocoding to convert addresses into lat/long pairs.

You can find more details in the developer blog post here:

   http://developer.yahoo.net/blog/archives/2005/11/announcing_new.html

Feel free to use this group to ask questions and share what you've
come up with. We can't wait to see what you're working on!

Jeffrey

#546 From: "jeffreymcmanus" <jeffreymcmanus@...>
Date: Thu Nov 3, 2005 6:15 am
Subject: Re: i have lat/lon data, how to turn to hard address?
jeffreymcmanus
Send Email Send Email
 
We now support the conversion of addresses into lat/long pairs.
Documentation here:

   http://developer.yahoo.net/maps/rest/V1/geocode.html

Jeffrey

--- In yws-maps@yahoogroups.com, Vince Maniago <uvince@y...> wrote:
>
> Yahoo! Maps let's you use lat/lon or addresses, it's your choice!
>
> Check out the item sub-elements in the documentation:
>
> ymaps:Address string The street address of the location. Anything
Yahoo! Maps is able to recognize as a valid address can be used here.
> ymaps:CityState string The city and state/province of the location.
> ymaps:Zip integer or <integer>-<integer> The five-digit ZIP code, or
the five-digit code plus four-digit extension of the location.
> ymaps:Country string: default us The two-letter country code of the
location. ca and us are currently supported.
> geo:lat floating-point number The latitude of the location. If
geo:lat and geo:long are not specified, ymaps:Address,
ymaps:CityState, ymaps:Zip and ymaps:Country are all required.
> geo:long floating-point number The longitude of the location.
>
>
>
>
> ----- Original Message ----
> From: preferredlogistics <bbement@g...>
> To: yws-maps@yahoogroups.com
> Sent: Friday, October 28, 2005 12:58:26 AM
> Subject: [yws-maps] i have lat/lon data, how to turn to hard address?
>
> my application gives me a lat/lon location, but it seems i will need
> to turn this into a hard address in order to use yahoo maps.  is their
> any solution to this?  in searching other threads it appears yahoo
> maps doesnt support the translating of the lat/lon to a hard
> address....perhaps there is some 3rd party product that can accomplish
> this on my server?
>
> thanks in advance, bart
>
>
>
>
>
>
>
> YAHOO! GROUPS LINKS
>
>
>  Visit your group "yws-maps" on the web.
>
>  To unsubscribe from this group, send an email to:
>  yws-maps-unsubscribe@yahoogroups.com
>
>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>

#547 From: "ridemaps" <yahoogroups@...>
Date: Thu Nov 3, 2005 6:25 am
Subject: Re: NEW! Yahoo Maps Beta + New Maps APIs
ridemaps
Send Email Send Email
 
We bow down before you, oh great and mighty wizard!  How can we ever
thank you for your wonderful gifts!  We will endeavor to create items
of great beauty that will honor your gifts.  And we will joyfully
sing out across the lands,"Yahoo!"


--- In yws-maps@yahoogroups.com, "jeffreymcmanus"
<jeffreymcmanus@y...> wrote:
>
> Masters of maps,
>
> Tonight we released a new version of Yahoo! Maps with new APIs for
> developers. With this release you have the ability to create and
> manipulate Flash and AJAX maps, embed maps on your own Web site,
> overlay new data sources including traffic and local search, and use
> geocoding to convert addresses into lat/long pairs.
>
> You can find more details in the developer blog post here:
>
>
http://developer.yahoo.net/blog/archives/2005/11/announcing_new.html
>
> Feel free to use this group to ask questions and share what you've
> come up with. We can't wait to see what you're working on!
>
> Jeffrey
>

#548 From: Anurag Gupta <anuraggupta_personal@...>
Date: Thu Nov 3, 2005 9:36 am
Subject: JS-Flash API: map.getCenter() not working
anuraggupta_...
Send Email Send Email
 
Hi,

I am unable to get map.getCenter to return a populated LatLon object in JS-Flash APIs documented here: http://developer.yahoo.net/maps/flash/V2/flashReference.html.

Any clues?
thanks
-anurag

<snip>
var map = new Map("mapContainer", "appid", "511 E Mary St, Austin, TX", 3);
map.addTool( new PanTool(), true );
map.addEventListener(Map.EVENT_PAN_START, onPanStart);

function onPanStart()
{
  alert("onPanStart called");
  alert(map.getAppID());  // works
  alert(map.getZoomLevel());  //works
  var c = map.getCenter();  //
  alert(c.lat + ":" + c.lon); // both lat and lon are undefined
}
</snip>

#549 From: "B.K. DeLong" <bkdelong@...>
Date: Thu Nov 3, 2005 1:16 pm
Subject: Re: ERROR! Need to plot "Fastest" routes between destinations.
bkdelong
Send Email Send Email
 
Has this changed with the new release?

--- In yws-maps@yahoogroups.com, "Dan Theurer" <dtheurer@y...> wrote:
>
> Hi Ronald,
>
> Yahoo! Maps does not allow you to specify if you want the fastest or the
> shortest. It returns you the route that is assumed to be the most
optimal.
>
> In the current version, the API does not support routes.
>
> Thanks,
>
> Dan Theurer (toy-er)
> Technical Evangelist
> Yahoo! Developer Network
> mailto:dan@y...

#550 From: "mapsbygina" <mapsbygina@...>
Date: Thu Nov 3, 2005 4:46 pm
Subject: simple api - starting out
mapsbygina
Send Email Send Email
 
I'm a complete newbie to the Yahoo! system and am looking for a little
more explanation or samples to supplement what is provided in the
Simple API Reference Manual online.  Any suggestions?
Thanks,
Gina

#551 From: "mapsbygina" <mapsbygina@...>
Date: Thu Nov 3, 2005 4:48 pm
Subject: simple api - starting out
mapsbygina
Send Email Send Email
 
I'm a complete newbie to the Yahoo! system and am looking for a little
more explanation or samples to supplement what is provided in the
Simple API Reference Manual online.  Any suggestions?
Thanks,
Gina

#552 From: "Aaron Roller" <aroller@...>
Date: Thu Nov 3, 2005 6:29 pm
Subject: Polyline
aroller
Send Email Send Email
 
Is there any way to draw a polyline using the Flash API?  I can't seem to find
the word polyline in the API nor in this message board.  I simply want to plot
the driving directions line, but I feed the geopoints the line should follow.

Aaron

#553 From: "nicolas_ross_cyb" <nicolas_ross_cyb@...>
Date: Thu Nov 3, 2005 6:45 pm
Subject: Geocoding from canada
nicolas_ross...
Send Email Send Email
 
Hi !

I'm curently testing the API to get the geocode for some locations in
canada. All I'm able to get is "unable to parse location". Can anyone
send me and exemple of a working geocode query for canada, including
postal code ?

#554 From: "places4rent" <bdaviduck@...>
Date: Thu Nov 3, 2005 6:59 pm
Subject: HTML in <description> field is NOT rendered?? ..
places4rent
Send Email Send Email
 
Hello,

In testing the GeoRSS feed to the Yahoo Maps last week HTML code in the
<description>...</description> node of the <item> element was rendered
properly, however, today while testing, the HTML in the description
field is NOT rendered -- instead it is displayed, (cut and paste the
URL below into your browser):

http://api.maps.yahoo.com/Maps/V1/annotatedMaps?
appid=YahooDemo&xmlsrc=http://www.rentboard.ca/search/map_yahoo_georss.a
spx?locid=207

When you click on a map marker the HTML code sent in the description
field is displayed rather than rendered.

Question: Can the <description> node contain HTML codes?  Currently it
appears that it cannot.

#555 From: "ridemaps" <yahoogroups@...>
Date: Thu Nov 3, 2005 7:48 pm
Subject: Re: HTML in <description> field is NOT rendered?? ..
ridemaps
Send Email Send Email
 
I'm having the same problem.

Formatting Worked yesterday - http://ridemaps.com/test/clubs.htm

Traffic cams are gone - http://ridemaps.com/test/





--- In yws-maps@yahoogroups.com, "places4rent" <bdaviduck@r...> wrote:
>
> Hello,
>
> In testing the GeoRSS feed to the Yahoo Maps last week HTML code in
the
> <description>...</description> node of the <item> element was
rendered
> properly, however, today while testing, the HTML in the description
> field is NOT rendered -- instead it is displayed, (cut and paste
the
> URL below into your browser):
>
> http://api.maps.yahoo.com/Maps/V1/annotatedMaps?
>
appid=YahooDemo&xmlsrc=http://www.rentboard.ca/search/map_yahoo_georss
.a
> spx?locid=207
>
> When you click on a map marker the HTML code sent in the
description
> field is displayed rather than rendered.
>
> Question: Can the <description> node contain HTML codes?  Currently
it
> appears that it cannot.
>

#556 From: "ridemaps" <yahoogroups@...>
Date: Thu Nov 3, 2005 8:02 pm
Subject: Re: simple api - starting out
ridemaps
Send Email Send Email
 
Gina,

The easiest way to find samples is to find a map similiar to what you
want to create.  Then look at how it was done.

For example, if you were looking at my Columbia Bicycle mashup, in
the Address bar at the top of your browser would be:

http://api.maps.yahoo.com/Maps/V1/annotatedMaps?appid=breakaway2005-
columbia&xmlsrc=http://www.ms150.info/columbia/c_rs_yahoo.xml

In order to view the xml code, just delete the beginning of that link
up to the second http. You'll end up with
http://www.ms150.info/columbia/c_rs_yahoo.xml and you'll see how I
did it.

Elena



--- In yws-maps@yahoogroups.com, "mapsbygina" <mapsbygina@y...> wrote:
>
> I'm a complete newbie to the Yahoo! system and am looking for a
little
> more explanation or samples to supplement what is provided in the
> Simple API Reference Manual online.  Any suggestions?
> Thanks,
> Gina
>

#557 From: "ScottAbbott" <scottabbott@...>
Date: Thu Nov 3, 2005 8:23 pm
Subject: Zoom out when SmartWindow closed
ScottAbbott
Send Email Send Email
 
I'm completely new at the Yahoo! Maps services.  I'm trying to use the
AJAX API to show a map of regional offices.  I can get the map to zoom
in and show the SmartWindow when the marker is clicked, but I want it
to zoom back out when the SmartWindow is closed.  Is this possible?

Thanks in advance.

Scott Abbott

#558 From: Hasan Diwan <hasan.diwan@...>
Date: Thu Nov 3, 2005 8:39 pm
Subject: Re: NEW! Yahoo Maps Beta + New Maps APIs
eiresf
Send Email Send Email
 
Jeff:
Does the new maps API still generate maps on the client-side?

Cheers,
Hasan Diwan <hasan.diwan@...>

#559 From: Quincy Braithwaite <qxfactor@...>
Date: Thu Nov 3, 2005 8:44 pm
Subject: Re: NEW! Yahoo Maps Beta + New Maps APIs
qxfactor
Send Email Send Email
 
Stop sending e-mail to this site please

--- Hasan Diwan <hasan.diwan@...> wrote:

> Jeff:
> Does the new maps API still generate maps on the
> client-side?
>
> Cheers,
> Hasan Diwan <hasan.diwan@...>
>
>




__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com

#560 From: Jim Georgeson <jimgeorgeson@...>
Date: Thu Nov 3, 2005 9:01 pm
Subject: Re: NEW! Yahoo Maps Beta + New Maps APIs
jimgeorgeson
Send Email Send Email
 
Go in and change your Yahoo Groups.  You asked for the
emails to be sent.

--- Quincy Braithwaite <qxfactor@...> wrote:

> Stop sending e-mail to this site please
>
> --- Hasan Diwan <hasan.diwan@...> wrote:
>
> > Jeff:
> > Does the new maps API still generate maps on the
> > client-side?
> >
> > Cheers,
> > Hasan Diwan <hasan.diwan@...>
> >
> >
>
>
>
>
> __________________________________
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
>




__________________________________
Start your day with Yahoo! - Make it your home page!
http://www.yahoo.com/r/hs

#561 From: Josh Chambers <algarythem@...>
Date: Thu Nov 3, 2005 9:15 pm
Subject: Re: NEW! Yahoo Maps Beta + New Maps APIs
algarythem
Send Email Send Email
 
I'm fairly sure thats a server-side thing...

J

--- Hasan Diwan <hasan.diwan@...> wrote:

> Jeff:
> Does the new maps API still generate maps on the
> client-side?
>
> Cheers,
> Hasan Diwan <hasan.diwan@...>




__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com

#562 From: "George" <yiquan2001@...>
Date: Fri Nov 4, 2005 1:39 am
Subject: Could it possible to reduce Flash API component size
yiquan2001
Send Email Send Email
 
I tested the Flash API and notice it load the whole Y!map component
into final SWF file, and the mini size is 85k bytes or so. I wonder if
Yahoo dev team could give us some flexible options such as dividing
the whole component into some more pieces, that we could reduce the
final size and improve end-user's experience. You know, comparing to
load only map images in HTML Y!map, to load a Yahoo!map in Flash
visitors have to load additional 85k first.

#563 From: "firdosht" <ftangri@...>
Date: Fri Nov 4, 2005 2:11 am
Subject: CustomPOIMarker , setting individual properties
firdosht
Send Email Send Email
 
Hey all,
         I have been playing with the Yahoo Maps Api and I have noticed
that in the CustomPOIMarker API docs it states that the
CustomPOIMarker class , constructor takes in 5 params

CustomPOIMarker (index, title, description, markerColor, strokeColor)

So I took the second example of the yahoo website ( "Placing a Marker
on a Yahoo! Map using ActionScript and Flash " )

And replaced the code

var myMarker = {index:'Y!', title:'Yahoo! Inc.',
description:'Corporate HQ', markerColor:0x990099, strokeColor:0xFFFF00};

with

var myMarker:CustomPOIMarker=new CustomPOIMarker('Y!','Yahoo!
Inc.','Corporate HQ',0x990099,"0xFFFF00");

but this piece of code does not work .So after looking at the class
code I found that the constructor takes no params.

public function CustomPOIMarker();

So I tried doing
var myMarker:CustomPOIMarker=new CustomPOIMarker();
myMarker.index="Y!";
myMarker.title="Yahoo!";
myMarker.description="Corporate HQ";

but then ran into the issue that strokeColor and markerColor are
private while the rest are public ??

Also in the api it mentions that strokeColor is string but in the
intrinsic  class its defined

private var strokeColor:Number;

So how would I go about setting these properites or changing them ??

cheers :)
Firdosh

#564 From: "firdosht" <ftangri@...>
Date: Fri Nov 4, 2005 2:57 am
Subject: CustomSWFMarker help
firdosht
Send Email Send Email
 
Does anyone have a CustomSWFMarker example ??. I created a custom swf
and it loads up fine but I am not sure I am adding it as a Marker properly

  var address:String = "701 First Ave., Sunnyvale, CA";
  var test:CustomSWFMarker=new CustomSWFMarker("YahooMapMarker.swf");
  test.callCustomMethod("setIndex",["Testing"]);

How do I pass in my test instance to the method ?? The last param is a
data object.

myMap.addMarkerByAddress(CustomSWFMarker, address, );

Thanks
cheers :)
firdosh

#565 From: "firdosht" <ftangri@...>
Date: Fri Nov 4, 2005 5:03 am
Subject: Issues extending CustomPOIMarker
firdosht
Send Email Send Email
 
I am trying to basically dispatch an event whenever a marker is clicked.

class MyMarker extends CustomPOIMarker {

public function onPress():Void {
	 super.onPress();
	 trace("here");
	 dispatchEvent({type:"click", target:this});
}

it does not trace here out. CustomPOIMarker extends Marker which
extends Movieclip so it should trace something there.


Another weird thing is I tried overriding some methods
public function onContainerMouseDown(){

    trace("here");
}

does not trace anything in here either or even when I tried

    private function onCloseButtonPress()

although If I do
var myMarker:MyMarker=new MyMarker();
myMarker.onPress=function(){
trace("here");
}

this works but then the whole animation goes away since its overriding
the function. So why wont it let me do it in my MyMarker class??

thanks
firdosh

#566 From: "jrthor2" <jroscoe@...>
Date: Fri Nov 4, 2005 3:57 pm
Subject: not getting markers
jrthor2
Send Email Send Email
 
I cannot get any markers on my maps.  Below is my code.

index.asp:
<script type="text/javascript" src="/inc/YMap.js"></script>
<script type="text/javascript" src="/inc/YData.js"></script>
<script type="text/javascript" language="JavaScript">
	 function StartYMap() {
		 var YMapObj = new YMap(document.getElementById('mapContainer'));
		 YMapObj.addZoomLong();
		 YMapObj.addPanControl();

		 var myPoint = new YGeoPoint(40.265419, -76.71);
		 YMapObj.drawZoomAndCenter(myPoint, 2);
		 YLoadMapData(YMapObj, YMapJSONObj);
	 }
	 window.onload = StartYMap;
</script>

YMaps.js:
/*******************************************************************************
  * File: YMap.js
  *
  * Description: Contains functions to facilitate map creation using the
  * Yahoo! Maps API.
  ******************************************************************************/

var markersArray = new Object();

function YLoadMapData(map, data) {
	 markersArray['map'] = map;

	 for(var idx = 0; idx < data.markers.marker.length; idx++) {
			 var mapPoint = new YGeoPoint
						   (parseFloat(data.markers.marker[idx].lat),
						    parseFloat(data.markers.marker[idx].lon));

			 var plotPoint = createYMarker(mapPoint, data.markers.marker[idx], idx);
			 map.addOverlay(plotPoint);
	 }
}

function createYMarker(point, data, idx) {
	 var myIcon = new YImage();
	 myIcon.src = 'http://www.zluth.org/images/rd14x15_1_tl.gif';
	 myIcon.size = new YSize(14, 15);
	 myIcon.offsetSmartWindow = new YCoordPoint(0,0);

	 var marker = new YMarker(point, 'id'+idx, myIcon);

	 var html_str = "<div style='width: 150px; max-width: 150px; margin: 0
3px 2px 3px;'>"
				  + "<b>" + data.name + "</b><br/>"
				  + data.address + "<br/>"
				  + data.city_state + "<br/>"
				  + data.phone + "<br/>"
				  + data.description + "</div>";

	 //var menuObj = document.getElementById("ymap_links");
	 //menuObj.innerHTML += '<a href="javascript:focusOnMarker(\'' +
data.name + '\')">'
					   //+ data.name + '</a><br/>';

	 markersArray[data.name] = new Object();
	 markersArray[data.name]['html'] = html_str;
	 markersArray[data.name]['marker'] = marker;

	 YEvent.Capture(marker, EventsList.MouseClick, function() {
marker.openSmartWindow(html_str) });
	 return marker;
}

function focusOnMarker(name) {
	 var marker = markersArray[name]['marker'];
	 marker.openSmartWindow(markersArray[name]['html']);
}

YData.js:
var YMapJSONObj = {
	 "markers":
	 {
		 "marker":
		 [
			 {
				 "lon":"-76.71",
				 "lat":"40.265419",
				 "name":"Zion Lutheran Church",
				 "address":"100 West Main St.",
				 "city_state":"Hummelstown, PA",
				 "phone":"717.566.2589",
				 "description":"Zion Luther Church Map"
			 },
		 ]
	 }
}

#567 From: "bhoard1" <bhoard@...>
Date: Fri Nov 4, 2005 5:28 pm
Subject: Driving Directions
bhoard1
Send Email Send Email
 
Are driving directions and routing available under the AJAx and/or
Flash Beta API's?

Thanks.
-Brent

#568 From: "ridemaps" <yahoogroups@...>
Date: Fri Nov 4, 2005 6:57 pm
Subject: Re: HTML in <description> field is NOT rendered?? ..
ridemaps
Send Email Send Email
 
Thanks for fixing this so fast!  Its such a relief to have it back!




--- In yws-maps@yahoogroups.com, "ridemaps" <yahoogroups@r...> wrote:
>
> I'm having the same problem.
>
> Formatting Worked yesterday - http://ridemaps.com/test/clubs.htm
>
> Traffic cams are gone - http://ridemaps.com/test/
>
>
>
>
>
> --- In yws-maps@yahoogroups.com, "places4rent" <bdaviduck@r...>
wrote:
> >
> > Hello,
> >
> > In testing the GeoRSS feed to the Yahoo Maps last week HTML code
in
> the
> > <description>...</description> node of the <item> element was
> rendered
> > properly, however, today while testing, the HTML in the
description
> > field is NOT rendered -- instead it is displayed, (cut and paste
> the
> > URL below into your browser):
> >
> > http://api.maps.yahoo.com/Maps/V1/annotatedMaps?
> >
>
appid=YahooDemo&xmlsrc=http://www.rentboard.ca/search/map_yahoo_georss
> .a
> > spx?locid=207
> >
> > When you click on a map marker the HTML code sent in the
> description
> > field is displayed rather than rendered.
> >
> > Question: Can the <description> node contain HTML codes?
Currently
> it
> > appears that it cannot.
> >
>

#569 From: "sashimikid" <jlevitt@...>
Date: Fri Nov 4, 2005 9:32 pm
Subject: Re: Polyline
sashimikid
Send Email Send Email
 
--- In yws-maps@yahoogroups.com, "Aaron Roller" <aroller@m...> wrote:
>
> Is there any way to draw a polyline using the Flash API?  I can't
seem to find the word polyline in the API nor in this message board.
I simply want to plot the driving directions line, but I feed the
geopoints the line should follow.
>
> Aaron

Polylines is not yet a supported feature of the Flash API. Look for it
in a future release.

Jason

#570 From: "sashimikid" <jlevitt@...>
Date: Fri Nov 4, 2005 9:31 pm
Subject: AS-Flash Bug Fix Update
sashimikid
Send Email Send Email
 
We'll be releasing a minor bug fix update to the Yahoo! Maps AS-Flash
API early next week. If you've had problems using setCenterByAddress
and setZoomLevel together, that problem will be fixed.

Jason

#571 From: "dhanoad" <dhanoad@...>
Date: Sat Nov 5, 2005 1:03 am
Subject: Mixing PHP/mySQL with Javascript Yahoo Maps
dhanoad
Send Email Send Email
 
Friends,

I am trying to put a mySQL database SELECT to plot user profile
information in a Yahoo Map


My code zooms in at the proper coordinates but the marker doesn't show
up at all.

I tried the var marker1 with my PHP code which didn't work.. I then
commented it out and pasted the original marker1 code which still
doesn't work..

wtf is this noob doing wrong?

<script type="text/javascript">
// Create and display Map object at the address and with zoom level 3
// Include your application ID.
var map = new Map("mapContainer", "gabbrgeocode", "<?php echo
$rowGeocode[address1]; ?>, <?php echo $rowGeocode[city]; ?>, <?php
echo $rowGeocode[state]; ?>", 3);

// Make the map draggable
map.addTool( new PanTool(), true );

// Create a Navigator Widget object
navWidget = new NavigatorWidget();

// Add the Navigator Widget to the map and display it
map.addWidget(navWidget);

// Create a POI marker object

marker1 = new CustomPOIMarker( 'HOME', 'Simple Map  Example', 'South
Austin, Texas Rocks!', '0xFF0000',     '0xFFFFFF' );
//marker1 = new CustomPOIMarker( '<?php echo $rowGeocode[username];
?>', '<?php echo "<br>".$rowGeocode[byline]; ?>', '<?php echo
$rowGeocode[address1]." ".$rowGeocode[city]." ".$rowGeocode[state];
?>', '0xFF0000',     '0xFFFFFF' );

// Add the POI marker to the map and display it
map.addMarkerByAddress( marker1, "511 E Mary St, Austin, TX");
</script>


A little help?

#572 From: "Rasmus Lerdorf" <rlerdorf@...>
Date: Sat Nov 5, 2005 2:26 am
Subject: Re: Mixing PHP/mySQL with Javascript Yahoo Maps
rlerdorf
Send Email Send Email
 
--- In yws-maps@yahoogroups.com, "dhanoad" <dhanoad@y...> wrote:
> A little help?

It would be more helpful if you posted the "view source" version after
the PHP code has run so we can see what these variables are expanding
into and what the final Javascript looks like.  As far as I can tell
you have it right, but without the final Javascript it is hard to say.

You may also want to read through:

     http://toys.lerdorf.com/archives/35-GeoCool!.html

where I go through some of this same stuff.

-Rasmus

#573 From: "develonet" <staff@...>
Date: Sat Nov 5, 2005 3:27 am
Subject: multiple point plotting via a pre built excel DB or on-line forum submission
develonet
Send Email Send Email
 
Looking for some code that will help me plot several points in a city
based on locations I have in an Excel spreadsheet (DB). Is there a way
to drop some code into Excel or on an html page to retreive all the
lats and longs for each location by looping something or do you have a
better suggetion?
Thanks a ton!

Messages 544 - 573 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