由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
BuildingWeb版 - how to construct iframe for several places in google map ? (转载)
相关主题
显示文件列表在网页的一个一个PHP问题
如何KILL掉HOSTING SERVICE的BANNER? -URGENT请教(紧急): 如何实现同一网页中的局部刷新?
adding a search link如何改变IFRAME内的HTML?
请教个域名问题,谢谢救命呀,大家帮帮我的网页把
.NET 网站问题[转载] goldhead你倒是说
this is one of the ways Re: 怎么设置可以看到CODE?anybody know how to build MDI webpage?
请教简单的问题.请问!!!网页里含框架怎么让整个内容居中啊????
how to implement iframe in Netscape 4.x网页设计一问。
相关话题的讨论汇总
话题: dennis话题: iframe话题: port话题: map话题: construct
进入BuildingWeb版参与讨论
1 (共1页)
w*s
发帖数: 7227
1
【 以下文字转载自 Programming 讨论区 】
发信人: wds (网虫都是loser), 信区: Programming
标 题: how to construct iframe for several places in google map ?
发信站: BBS 未名空间站 (Fri Aug 2 22:53:00 2013, 美东)
say i want to combine several stores near me into iframe, to embed in my
webpage.
now i have the 1st place 41.698167,-70.15168,
2nd: 41.675861,-70.091255
3rd: 41.665218,-70.201462
how to combine them together in the format like

https://maps.
google.com/maps?f=q&source=embed&hl=en&geocode=&q=shaws+near
+Dennis+Port,+Dennis,+MA&sll=41.656112,-70.134315&sspn=0.101964,0.
264187&ie=UTF8&hq=shaws&hnear=Dennis+Port,+Dennis,+Barnstable,+
Massachusetts&t=m&fll=41.655728,-70.356789&fspn=0.101964,0.
264187&st=103338374097488094454&rq=1&ev=zi&split=1&ll=41
.613359,-70.293343&spn=0.101964,0.264187" style="color:#0000FF;text-
align:left">View Larger Map
g****z
发帖数: 1135
2
问题没看懂。
w*s
发帖数: 7227
3
you can search "Stop and Shop + Boston, MA" in google map,
then in the left side, it gives you the iframe code,
if you embedded it into you webpage,
it displays Stop and Shop stores near Boston.
now how do i search "Stop and Shop" and "Shaw's" in Boston, and display them
together in 1 map ?

【在 g****z 的大作中提到】
: 问题没看懂。
g****z
发帖数: 1135
4
这个问题在前面的帖子里已经回答过了嘛,我的方法比较老版本,另一朋友的比较新版
本。
怎么你没弄明白?还要写段code给你啊。

them

【在 w*s 的大作中提到】
: you can search "Stop and Shop + Boston, MA" in google map,
: then in the left side, it gives you the iframe code,
: if you embedded it into you webpage,
: it displays Stop and Shop stores near Boston.
: now how do i search "Stop and Shop" and "Shaw's" in Boston, and display them
: together in 1 map ?

w*s
发帖数: 7227
5
i'm new to all these, i don't understand your answers.

【在 g****z 的大作中提到】
: 这个问题在前面的帖子里已经回答过了嘛,我的方法比较老版本,另一朋友的比较新版
: 本。
: 怎么你没弄明白?还要写段code给你啊。
:
: them

g****z
发帖数: 1135
6
这个:
http://www.mitbbs.com/article_t/BuildingWeb/31174353.html

【在 w*s 的大作中提到】
: i'm new to all these, i don't understand your answers.
w*s
发帖数: 7227
7
searched this post before, still don't get it.
i'm just looking for a simple way,
put
1st place 41.698167,-70.15168,
2nd: 41.675861,-70.091255
3rd: 41.665218,-70.201462
into that iframe line,
no js and other stuff, can i ?

【在 g****z 的大作中提到】
: 这个:
: http://www.mitbbs.com/article_t/BuildingWeb/31174353.html

g****z
发帖数: 1135
8
我只会用比较繁复的js方法,问问peterdu吧,他提的新方案,就让他写个pseudo code
啥的.

【在 w*s 的大作中提到】
: searched this post before, still don't get it.
: i'm just looking for a simple way,
: put
: 1st place 41.698167,-70.15168,
: 2nd: 41.675861,-70.091255
: 3rd: 41.665218,-70.201462
: into that iframe line,
: no js and other stuff, can i ?

p*****u
发帖数: 214
9
ggxxzz害我呀,呵呵,简单的教程
www.youtube.com/watch?v=lh-hQitgTg8&feature=youtube_gdata_player
希望对你有帮助

code

【在 g****z 的大作中提到】
: 我只会用比较繁复的js方法,问问peterdu吧,他提的新方案,就让他写个pseudo code
: 啥的.

g****z
发帖数: 1135
10
权当是面试题哈。
要是真碰上这类面试官我肯定歇菜。

【在 p*****u 的大作中提到】
: ggxxzz害我呀,呵呵,简单的教程
: www.youtube.com/watch?v=lh-hQitgTg8&feature=youtube_gdata_player
: 希望对你有帮助
:
: code

相关主题
this is one of the ways Re: 怎么设置可以看到CODE?一个PHP问题
请教简单的问题.请教(紧急): 如何实现同一网页中的局部刷新?
how to implement iframe in Netscape 4.x如何改变IFRAME内的HTML?
进入BuildingWeb版参与讨论
w*s
发帖数: 7227
11
perfect, looks very cool, thx a lot !

【在 p*****u 的大作中提到】
: ggxxzz害我呀,呵呵,简单的教程
: www.youtube.com/watch?v=lh-hQitgTg8&feature=youtube_gdata_player
: 希望对你有帮助
:
: code

p*****u
发帖数: 214
12
你是一问,我是一看。

【在 w*s 的大作中提到】
: perfect, looks very cool, thx a lot !
w*s
发帖数: 7227
13
也谢谢你!

code

【在 g****z 的大作中提到】
: 我只会用比较繁复的js方法,问问peterdu吧,他提的新方案,就让他写个pseudo code
: 啥的.

w*s
发帖数: 7227
14
汇报一下,看看是不是work ?
http://osmotel.com/food-and-shopping/
就是那个pin能换颜色形状就好了

【在 p*****u 的大作中提到】
: 你是一问,我是一看。
p*****u
发帖数: 214
15
那个应该可以换,以前是自己写code,具体怎么弄你到googlemap上查查吧。

【在 w*s 的大作中提到】
: 汇报一下,看看是不是work ?
: http://osmotel.com/food-and-shopping/
: 就是那个pin能换颜色形状就好了

g****z
发帖数: 1135
16
不知你是咋弄的,大约是如此:
var gicon = new google.maps.Icon();
gicon.image = ;
gicon.shadow = ;
然后在create mark的时候给出这个gicon:
var gmarker = new google.maps.Marker(point, gicon);
看起来并不容易,你自己琢磨琢磨。

【在 w*s 的大作中提到】
: 汇报一下,看看是不是work ?
: http://osmotel.com/food-and-shopping/
: 就是那个pin能换颜色形状就好了

1 (共1页)
进入BuildingWeb版参与讨论
相关主题
网页设计一问。.NET 网站问题
protopage with AJAXthis is one of the ways Re: 怎么设置可以看到CODE?
Writely网站设计语言请教简单的问题.
请教一个HTML的问题how to implement iframe in Netscape 4.x
显示文件列表在网页的一个一个PHP问题
如何KILL掉HOSTING SERVICE的BANNER? -URGENT请教(紧急): 如何实现同一网页中的局部刷新?
adding a search link如何改变IFRAME内的HTML?
请教个域名问题,谢谢救命呀,大家帮帮我的网页把
相关话题的讨论汇总
话题: dennis话题: iframe话题: port话题: map话题: construct