首页 > 其他, 初级, 好玩的 > google-maps-el – Emacs中的谷歌地图

google-maps-el – Emacs中的谷歌地图

什么是google-map-el

作者原话:google-maps 是一个emacs的扩展,允许在emacs中显示google地图。

如果想瞻仰生下google-maps-el这个蛋的母鸡,猛击我

google-maps使用了 Google static Maps APIGoogle Maps Geocoding API1
google-maps-el原作者的效果图:

google-mpas-el如何使用

进入

M-x google-maps

使用

google maps mode下的键绑定,对应命令,相应解释

键绑定 命令 解释
+ google-maps-static-zoom-in 放大
, .. - google-maps-static-zoom-out 缩小
. google-maps-static-zoom-in 放大
< google-maps-static-zoom-out 缩小
> google-maps-static-zoom-in 放大
c google-maps-static-center 设置中心点位置2
g google-maps-static-refresh 刷新
m google-maps-static-manage-marker 地标
q google-maps-static-quit 退出
t google-maps-static-set-maptype 地图模式3
v google-maps-static-manage-visible 不懂4
w google-maps-static-copy-url 拷贝当前地图的url
z google-maps-static-zoom 放缩至1倍
<mouse-4> google-maps-static-zoom-mouse-in 放大
<mouse-5> google-maps-static-zoom-mouse-out 缩小

访问五道口的效果5

实际操作

下面展示了,如何使用google-maps-el来生成以下的效果。
1 M-x google-maps ,在minibuffer中输入:wudaokou, beijing(进入五道口)
2 m Tsinghua RET p(标记清华大学为P)
3 m Peking University RET b(标记北京大学为B)
4 m Qinghuayuan Railway RTT q(标记清华园站为Q)
5 m Zhanchun Bridge RET z(标记展春桥为Z)
结果如下:

想要更炫的如作者展示的一样的结果,请参考作者图片上的设置,可以给marker设置表示颜色,在地图上显示从A地点到B地点的路径6

为什么使用google-maps-el

这个原因不好说,不能说,也说不好。只是这里有两个新闻solidot, 月光博客

google-maps方便,基于api的也应该更安全吧。

就算没有这些更安全、更方便,闲暇时把google maps搞进emacs,show给别人看,然后暗爽,也算是一种自娱自乐吧,呵呵

1. API 真是个好东西。当我的思维还停留web时代以前,认为API只是库或者框架对外提供的接口,方便库和框架与其他软件交互时,API已经远远超出这个范畴,进入web2.0时代,详细了解web APIS,猛击我

2. 支持中文,英文,中文拼音。

3. 有四种hybrid(混合地图),roadmap(道路图),satellite(卫星图),terrain(地域图)。

4. 作者效果图中有对visible的设置,应该是有用的,欲了解详细的geeker请读文档代码。

5. hybrid效果。

6. 路径功能,个人感觉不实用,路径需要在配置文件中写,而不能实时查询。感兴趣的童鞋可以扩展此功能:)

分享家:Addthis中国
GD Star Rating
loading...
google-maps-el - Emacs中的谷歌地图, 7.6 out of 10 based on 19 ratings 标签:Emacs, emacser, emacser.com, face, google, google maps, maps, org, 颜色

相关日志

分类: 其他, 初级, 好玩的
  1. 2010年7月13日02:32 | #1

    感觉可以用来发邮件或者聊天等的时候,直接从这里得到 url 发给对方
    好像没啥别的用处。。。

    [回复]

  2. 2010年7月13日02:41 | #2

    @wd ,嗯,实用性是不强,适合zhuangbility。

    [回复]

  3. 2010年7月13日02:43 | #3

    @wd ,其实这个功能使用w3m浏览google地图的话,也可以完美实现:)

    [回复]

  4. 2010年7月13日03:10 | #4

    要是能拖动地图就更赞了~

    [回复]

    fangzhzh 回复:

    @vvoody, 虽然可以用center旁边地标来实现view往左右动,但是没有鼠标确实是个缺陷

    [回复]

    vvoody 回复:

    @fangzhzh, 这也是一个办法…

    [回复]

  5. 2010年7月14日21:37 | #5

    不错

    [回复]

  6. 2010年8月2日12:46 | #6

    牛B!!!

    [回复]

    fangzhzh 回复:

    @krfantasy, 呵呵,还好,差点看成装B。

    [回复]

    krfantasy 回复:

    @fangzhzh, :lol:

    [回复]

  7. pocoyo
    2010年9月25日11:38 | #7

    这个好玩。 8)

    [回复]

  8. 2010年11月10日13:58 | #8

    感觉还是老google地图比较好用,这个怎么看头晕

    [回复]

    fangzhzh 回复:

    @网途旅游网, 呵呵,写完这个文章后,在emacs中就很少用google map的这个功能了。确实不实用。

    [回复]

  9. 2016年4月6日13:17 | #9

    USA Housing & Urban Development to London Realty LLC, 284 Hermitage Drive, $87,733. coach outlet online No decisions were made on whether the EU will introduce exceptional measures, the people said. s cheap nfl jerseys
    Denver: As much success as the Chiefs found in a surprising Week 10 win over Denver, very little of that came from the passing attack or, more specifically, the Chiefs’ wide receivers. wholesale nfl jerseys Kempton had two three-point plays that brought Lehigh within four.
    Insane Clown Posse formed in Detroit with Joseph Bruce (Violent J) and Joseph Utsler (Shaggy 2 Dope). The pair has expanded beyond the stage by forming their own label, producing movies, and creating their own pro-wrestling league. ray ban sunglasses outlet Triple 9 is far too short for it’s ambitions – it feels like someone slashed off 15 minutes or so indiscriminately – although it still somehow lasts too long after the second heist when all the loose ends have to be wrapped up. s oakley sunglasses
    Viruses:? Diseases caused by viruses, such as rabies, can be much more common in other parts of the world. michael kors outlet The Super Bowl champions were leaking oil a few hours into free agency.
    f Clift also warns against the potential negative effects aquaculture could have on Great Lakes water quality and existing wildlife. Risks include direct contamination of the lakes with food and waste, as well as potential introduction of disease to otherwise thriving ecosystems. coach outlet online He is averaging more than 28 points this season for Bentonville, the No. michael kors outlet
    Can you help us? em— Robert Fletcher, Suffield, ConnecticuemtA: US Airways should have issued the $450 vouchers, as promised, when the offer was made. http://www.michaelkorshandbagstrade.us.com The squad was selected by voters for the Hall of Fame inductions. http://www.michaelkorshandbags.us.org
    reflect the collective opinion of The Oregonian editorial board, which operates independently of the newsroom. michael kors online Write to Tell Me About It in care of The Washington Post, Style Plus, 1150 15th St. t nfl jerseys
    The USL featured 24 teams in the 2015 season, and has 27 teams secured for next year, including the louis vuitton outlet Power Road; April 28 at Dobson Library, 2425 S.
    Have a tip? Email him at or follow him on Twitter! Sports & RecreationAmerican FootballJohn ElwayBrock OsweilerDenver BroncosTim Tebow coach outlet Tuesday and voters can cast ballots until 7:30 p.
    The change had nothing to do with the contraction in revolving credit (that one was ugly on its own), and even though it’s probably completely innocent—the public has been misled on a number of things from consumer comfort levelsconcerning taking on newdebt to velocity of money. coach outlet store online Here are just a few of the articles that ran in the Arizona Daily Star about a home town hero.
    This type of vision is currently lacking in our state Legislature, which has recently put its attention to supporting extreme, and many times illegal, views, policies and laws. http://www.louisvuittonhandbagsrack.us.com It is also a commercial hub that includes the businessfriendly port city of Dubai.
    n AP writer Julie Bykowicz in Washington and Ken Thomas in Burlington, Vermont, contributed to this report cheap louis vuitton bags PHOENIX Asian-Americans and Pacific Islanders in Arizona are seeking to stake a bigger claim in the state’s political scene.
    Another close game, another agonizing loss for the San Benito High football team. coach handbags He won’t have to suffer through puberty wondering if any girls would possibly notice more than his Hostess-infused obliques, outsized head and general unease. d coach outlet store online
    Experian says that interest rates for auto loans are relatively low, with new-vehicle loans averaging 4. coach outlet SEOUL (Reuters) – North Korea is using Chinese-made trucks in a new mobile artillery system showcased five days ago, according to photographs reviewed by Reuters, underlining the difficulty in enforcing U.
    w The outcome was similar to one between the sugar industry and the makers of Splenda seven years ago. coach outlet store online Gladwin, C. s
    It wasn’t just a non-competitive game, it was sloppy, bad basketball on both ends oakley outlet Messi scored with a great run in the 41st and added a penalty in the 76th, leaving Barcelona with an eight-point advantage over Atletico Madrid, which later won 3-1 at Valencia to keep pace with 10 games to go. cheap oakleys
    OL: Anouson Keobounnam, Centennial, senior michael kors outlet store CHICAGO Consumers are driving food industry players manufacturers and restaurants to introduce items that satisfy a rapidly growing appetite for smaller meals that can be consumed on the run, even though it may not be the healthiest way to eat. h louis vuitton handbags
    on Sixth Avenue and Palmdale Street, said Officer Daniel Lucas, a Tucson Police Department spokesman. cheap oakleys 5 court filing that the money came from his legitimate businesses.
    At 4:32a.m. Wednesday, March 9, an alarm at?Jay’s Lounge, 3025 S. 11th St. alertedBerrien County Sheriff’s Office andMichigan State Police that there was a problem at the business, according to a news release from the cheap jordans Inman joined KATV in 1999 as a sports anchor and moved to the news desk in 2003. l ray ban glasses
    The 20-year-old — the youngest to sit on the Daytona 500 pole — soared to the top in 45. ray ban sunglasses outlet Steve Farley, D-Tucson, said there has never been a documented case of anyone picking up someone else’s ballot and then failing to deliver it.

    [回复]

  10. 2016年4月6日13:46 | #10

    Carr briefly left the game after taking a shot from Jones on the opening series of the game. But the second-year quarterback returned in time to throw for 187 yards and a touchdown by halftime and Oakland led 10-6 at the break. louis vuitton outlet Sunday, as you may have noticed if you glanced at the front page of this section, is the Little Rock Marathon. e oakley sunglasses
    There was acelebratory air to the evening, as if those dark economic cloudshad parted just a bit and people felt a little more at easeplunking down the price of an opera ticket and enjoying an eveningout. coach outlet online On the first day of free agency, the Browns lost a three-time Pro Bowler (Alex Mack) and their fastest player (Travis Benjamin), but surprisingly hung on to Manziel.
    “This court hopes that any challenges to this decision will be promptly taken before the chief judge so that as a resolution can be reached as expeditiously as possible,” Tarrant said. http://www.coachoutlet.cc The will-nots is the toughest case. p http://www.coachhandbagsdeal.us.com
    but he did talk about his love for Baylor and being “home” in Texas michael kors outlet online So now, he hangs out at doggy daycare during the week where he enjoys the company of other dogs while waiting for someone who will give him a permanent home.
    c Landon Ferraro assisted on a goal credited to Frank Vatrano at 7:11. It appeared, however, that Ferraro tipped in Vatrano’s shot that beat Petr Mrazek. If not, it will be Ferraro’s second assist in as many games with the Bruins, who claimed him off waivers Sunday from the Red Wings. coach factory outlet Reggie Anthony had 15 points for Harding, while Will Francis scored 12, Blake McNair added 11 and Andelkovic finished with 10 points and 11 rebounds. cheap michael kors bags
    Even the most divisive nominees for the high court have received a hearing before the Judiciary Committee, and the election-year decision to deny such a session is a sharp break with the Senate’s traditional “advise and consent” role. louis vuitton outlet online at CatalinaRio Rico vs. http://www.raybansunglasses.name
    It starts at $20,295 (excluding fees and charges) for the base trim, and begins at $25,090 for the top EX-L trim. wholesale nfl jerseys This does not mean to just arbitrarily stop. q ray ban sunglasses
    Fortunately for Mesa, Paul hasbuilt a great team, well positioned with both veteran operationsmanagement and key new hires in place to continue this success. http://www.raybanoutlet.name Visit nawbotucson.
    Doc Savage in particular was developed to be the motivation during the depression and subsequent war for boys and men to try to develop their bodies and mind. coach outlet online Information for this article was contributed by Josh Boak of The Associated Press; by Shobhana Chandra and Carlos Torres of Bloomberg News; and by Patricia Cohen of The New York Times.
    The actual boat, the old wooden The Husky Clipper, today rests on the top rack of the University of Washington boathouse. michael kors outlet online 3 Sells Baboquivari vs.
    The film’s visual elements are also strong, with Welles’ attention to composition matching his sensitivity to character. http://www.coachoutlet.cc v.
    c Barrett was charged and sentenced to 20 months behind bars, and is currently serving a 3-year supervised probation term louis vuitton bags Ironwood Ridge, 1 p.
    It’s no wonder Denmark has become famous for serving coffee in huge thermoses ready for countless refills throughout the day. coach factory outlet Transfer the mixture to a bowl and stir in the yogurt. u coach outlet
    More and more players are looking to marijuana for pain relief, he said, despite risking punishment from the NFL. louis vuitton outlet Another notable event, “A Night with Nelson,” features a retrospective of the 50-year career of George Nelson, who some consider, along with Charles Ray Eames, one of the founding fathers of American modernism.
    m DETROIT – The Detroit Red Wings controlled much of the first period Friday against the Edmonton Oilers at Joe Louis Arena, but the game remains scoreless. michael kors outlet The defensive reversal came on the heels of Arkansas’ 9086 home loss against Auburn in which the Tigers shot 61. p
    QUESTION: When is the best time of year to prune native desert trees like mesquites, palo verdes and ironwoods?ANSWER: Winter is not a good time for pruning those trees. oakley glasses Passage would be required to earn a high school or GED diploma starting in the 2016-2017 school year. coach outlet
    Regardless of what side of the ball Smith plays on, Georgia is in line to sign one of the state’s best prospects, regardless of class. At 6-foot-1, 160 pounds, and an enormous wingspan, Smith has great length to go with his unbelievable ball-skills and tremendous athleticism. louis vuitton outlet DEAR CAROLYN: In spite of doing “everything right” my life just didn’t work out the way I dreamed. d coach handbags
    He started his radio career with Radio One in 2001 and became the Vice President and General Manager of Indianapolis where he grew ratings and revenue for the cluster while annually outpacing the market in revenue growth. coach outlet online If raising your voice may remove some stress for you, go ahead.
    You don t want to take a player like Cassidy for granted because they don t come around very often. cheap michael kors bags “It’ll rain, rain, rain,” he said. a cheap nfl jerseys
    But still, all these years later, the horrific accounts keep coming – oakley glasses “Yet, despite the fame and money his parodies have brought him, Guerrero says that today he would hesitate to write “Pancho Lopez.

    [回复]

  1. 2011年12月23日10:23 | #1
:wink: :-| :-x :twisted: :) 8-O :( :roll: :-P :oops: :-o :mrgreen: :lol: :idea: :-D :evil: :cry: 8) :arrow: :-? :?: :!: