On Dec 7, 4:04 pm, gh0st <[email protected]> wrote: > Ok I'll go over this. If I have problems can I email you Larry or > should I continue to post to this?
Continue the thread. I don't respond to email at this address. > > On Dec 7, 3:46 pm, "[email protected]" <[email protected]> > wrote: > > > > > On Dec 7, 3:34 pm, gh0st <[email protected]> wrote: > > > > Kind of something like that but I've stared at the source code for > > > that for a few days and I've been trying to work that into my page > > > without success. > > > I'm thinking if I'm printing out rows of markers in a table the link > > > will be something like this echo "<a href= > > > \"javascript:openInfoWindow($markerID, map, $windowTitle, $windowBody) > > > \">" > > > That is php. What does the browser see? > > > > and then > > > openInfoWindow(markerID, map, infoWindowTitle, infoWindowDesc) { > > > infoWindow.open(map, markerID);} > > > > where markerID is the result of the mysql_query from the id column, > > > infoWindowTitle is the result of mysql_query from the name column and > > > so on. > > > I know in one of those examples a column is pre-generated in > > > javascript but isn't the case for my situation. > > > You can remove the sidebar and the example will still work. You can > > use that example as is if you use your php to generate the required > > xml from your database like > > this:http://code.google.com/apis/maps/articles/phpsqlajax_v3.html#outputxml > > > -- Larry > > > > On Dec 7, 2:50 pm, "[email protected]" <[email protected]> > > > wrote: > > > > > On Dec 7, 2:32 pm, gh0st <[email protected]> wrote: > > > > > > I have a sql table consisting of the following columns: > > > > > id, name, notes, lat, lng, and type. > > > > > > PHP querys the table and echos rows of the preceding columns. > > > > > I want to make links out of each row that open an infowindow of the > > > > > corresponding marker in the map. > > > > > > I'm thinking I can write a function that recieves the "id" of the > > > > > marker that calls a google.maps event that opens an infowindow for the > > > > > "id" of that marker in the map. > > > > > > page:http://whereschp.com/new/index.php?p=map > > > > > code:http://pastebin.com/wWsDKAgu<-- consists of index.php and > > > > > another fx.php > > > > > You mean something like > > > > this:http://www.geocodezip.com/v3_MW_example_linktomarker.html?marker=1 > > > > or > > > > this:http://www.geocodezip.com/v3_MW_example_linktomarker.html?id=Marker > > > > Two > > > > > -- Larry- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
