jQuery Plugin – gmaps(簡單實作出導航功能)

gmaps 網站截圖
gmaps 網站截圖

因為工作的關係,好久沒丟新範例了,底下這個範例是之前在課堂中製作的案例,經過一些修改之後分享給大家。

gmaps是一個Google Map的jQuery Plugin,底下的範例是利用它所製作出來的互動式地圖,大致說明如下:

  • 資料來源:利用XML讀取多個”巨匠電腦”分校位置。
  • 自動定位:自動擷取目前使用者所在位置。
  • 資料標示:更換地圖圖示與說明內容。
  • 快速索引:快速移動地圖至選取的分校。
  • 導航路線:選擇目的地之後,決定前往方法(開車/走路)後,按下路線規劃。

範例打包下載

You may also like...

12,892 Responses

  1. VN138表示:

    The post is absolutely fantastic! Lots of great info and inspiration, both of which we all need! Also like to admire the time and effort you put into your website and detailed info you offer! I will bookmark your website!

  2. App SODO66表示:

    I saw a similar post on another website but the points were not as well articulated.

  3. pbv88表示:

    What’s Happening i’m new to this, I stumbled upon this I’ve found It positively useful and it has aided me out loads. I hope to contribute & help other users like its aided me. Great job.

  4. MANCLUB表示:

    I favored your idea there, I tell you blogs are so helpful sometimes like looking into people’s private life’s and work.At times this world has too much information to grasp. Every new comment wonderful in its own right.

  5. mig8表示:

    I wrote down your blog in my bookmark. I hope that it somehow did not fall and continues to be a great place for reading texts.

  6. SODO66表示:

    Hello this is kinda of off topic but I was wondering if blogs use WYSIWYG editors or if you have to manually code with HTML. I’m starting a blog soon but have no coding knowledge so I wanted to get advice from someone with experience. Any help would be enormously appreciated!

  7. b52表示:

    I saw a similar post on another website but the points were not as well articulated.

  8. pbv88表示:

    We need to build frameworks and funding mechanisms.

  9. These kind of posts are always inspiring and I prefer to read quality content so I happy to find many good point here in the post. writing is simply wonderful! thank you for the post

  10. Win79表示:

    Makes sense to me.

  11. mig8表示:

    I wanted to check up and let you know how, a great deal I cherished discovering your blog today. I might consider it an honor to work at my office and be able to utilize the tips provided on your blog and also be a part of visitors’ reviews like this. Should a position associated with guest writer become on offer at your end, make sure you let me know.

  12. App SODO66表示:

    This is one very informative blog. I like the way you write and I will bookmark your blog to my favorites.

  13. VN138表示:

    What a great article.. i subscribed btw!

  14. Williecrady表示:

    Pemain bisa menikmati slot dari kenyamanan rumah https://preman69.tech/# Slot modern memiliki grafik yang mengesankan

  15. Williecrady表示:

    Pemain sering mencoba berbagai jenis slot http://preman69.tech/# Mesin slot dapat dimainkan dalam berbagai bahasa

  16. Telegram-канал занимающийся продажей травматического и боевого оружия без разрешений и производству лицензий.

    В наши дни Telegram выступает одной из популярнейших распространенных платформ для проведения различных операций, включая которые находятся за пределами законности. купить травмат Одним из самых таких сфер есть продажа оружия травматического и боевого без документов. В интернете возникают Телеграм-каналы, оказывающие такие услуги а также за оформление лицензий покупателям.

    ?? Как работает канал? В этих каналах встречается большое количество объявлений, с предложением ассортимент оружия. Предлагается следующее это:

    ?? Травматика:: от легальных моделей и переделанное. ?? Оружие:: предназначенное для боя оружие, реализуется без обязательных документов и лицензий. ?? Изготовление лицензий:: документы, для легальной покупки. Заказчики взаимодействуют напрямую с модераторами через персональные сообщения. Полный цикл заказа, оплаты, доставки выполняется инкогнито, тем самым делая сделки безопаснее для всех участников.

    ?? Такси для доставки Одним из методов обеспечения анонимности заключается в применение такси с целью транспортировки. Тот, кто продает оружие может просто передать товар с помощью курьера, оставляя минимальные следы для правоохранительных органов.

    ?? Безопасность оплаты Почти все этих каналов принимают оплату криптовалютой (Bitcoin, Monero) или через анонимные электронные переводы, и это усложняет выявление сделок.

    ?? Риски с точки зрения закона Стоит понимать, что деятельность этого рода нарушает несколько статей Уголовного кодекса.

    ?? Резюме Telegram-каналы, торгующие оружия травматического и боевого без разрешений, и занимающиеся оформление лицензий, открывают вариант анонимно купить нужные товары один из таких каналов.

  17. DavidCooth表示:

    https://bonaslot.site/# Slot dengan bonus putaran gratis sangat populer

  18. ThomasThype表示:

    Slot modern memiliki grafik yang mengesankan: garuda888 slot – garuda888.top

  19. ThomasThype表示:

    Banyak pemain menikmati bermain slot secara online: slot demo – slot demo

  20. Aaronbus表示:

    slot88 slot88.company Bermain slot bisa menjadi pengalaman sosial

  21. 一巡した表示:

    Influence investing and the consideration of environmental, social, and governance (ESG) criteria have turn out to be important components in the decision-making strategy of many family places of work.

  22. Barryanets表示:

    Carrie Underwood slated to perform at Trump’s inauguration
    kraken ссылка
    Country music star Carrie Underwood is slated to perform “America the Beautiful” at President-elect Donald Trump’s inauguration, according to a copy of the program obtained by CNN and confirmed by a spokesperson for the inaugural committee.

    “I love our country and am honored to have been asked to sing at the Inauguration and to be a small part of this historic event,” Underwood said in a statement to CNN. “I am humbled to answer the call at a time when we must all come together in the spirit of unity and looking to the future.”

    The presidential oath of office will be administered by Supreme Court Chief Justice John Roberts with Justice Brett Kavanaugh expected to administer the oath of office to Vice President-elect JD Vance.

    Trump’s inauguration as the 47th president of the United States will take place on January 20 at the US Capitol.

    Underwood is a big get for Trump’s inauguration, considering Hollywood’s Trump blackout over the course of his political career.

    In his first term and throughout the past three elections, Trump has struggled to garner support from major Hollywood stars. At the Republican National Convention last year, the two biggest stars onstage with Trump were musician Kid Rock and retired WWE wrestler Hulk Hogan – a far cry from a superstar at the height of their career, like Underwood.

    The Grammy-winning artist is as high-profile as you can get in country music, not only with numerous platinum hits, but also with public-facing, mainstream business associations. Underwood is the face of Sunday Night Football and is set to make her debut this March as a judge on ABC’s “American Idol” – the singing competition show that catapulted her to fame when she won in 2005.

    While many NFL fans will likely applaud Underwood for singing at the inauguration, any time a celebrity aligns themselves with Trump, they run the risk of alienating left-leaning fans and Hollywood allies.

    Underwood has kept her politics under wraps over the course of her career. In her statement, she did not mention Trump by name and kept her focus on unifying the country – still, Underwood’s decision to publicly align with Trump is a big statement for any star, particularly one as private as the singer.

    Historically, Hollywood has always been closely associated with the Democratic Party, but country stars have always been an outlier, leaning more conservative. In recent years, as new singers join the genre, country music has gotten to be more progressive. This past election cycle, country stars like Mickey Guyton and Maren Morris stood with Vice President Kamala Harris.

  23. He was born on April 8, 1922, in Hartwell, Ga.

  24. DavidCooth表示:

    http://bonaslot.site/# Pemain harus menetapkan batas saat bermain

  25. jal 保険表示:

    Diagnosing Coronary Heart Disease: Docs take a number of elements into consideration to diagnose coronary coronary heart illness.

  26. Frederick Singer Robertson, Govt Officer, Division of the Environment.

  27. Even when you’re owed a refund, you may trigger your self issues sooner or later by not filing (and you may lose your refund in the method).

  28. If someone wants to invest or trade in the Indian stock market, then you have a bank account, Demat report, after having a demat account can anyone trade in the stock market.

  29. Way of life Changes Adopting healthy habits equivalent to common train, balanced weight loss plan, and enough sleep can have a constructive affect on mood and general nicely-being.

  30. In the opening game of the 2014-15 season, he made a perfect start by keeping a clear sheet in a 3-zero win over Charleroi.

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。