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

gmaps 網站截圖
gmaps 網站截圖

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

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

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

範例打包下載

You may also like...

14,712 Responses

  1. Irondmm表示:

    Психолог онлайн анонимно. Психолог t me. Получить КОНСУЛЬТАЦИЮ и ПОДДЕРЖКУ профессиональных психологов.

  2. JesseDex表示:

    пин ап зеркало: https://pinupkz.life/

  3. MarvinDok表示:

    The world’s largest architectural model captures New York City in the ’90s
    aerodrome finance
    The Empire State building stands approximately 15 inches tall, whereas the Statue of Liberty measures at just under two inches without its base. At this scale, even ants would be too big to represent people in the streets below.

    These lifelike miniatures of iconic landmarks can be found on the Panorama — which, at 9,335 square feet, is the largest model of New York City, meticulously hand-built at a scale of 1:1,200. The sprawling model sits in its own room at the Queens Museum, where it was first installed in the 1960s, softly rotating between day and night lighting as visitors on glass walkways are given a bird’s eye view of all five boroughs of the city.

    To mark the model’s 60th anniversary, which was celebrated last year, the museum has published a new book offering a behind-the-scenes look at how the Panorama was made. Original footage of the last major update to the model, completed in 1992, has also gone on show at the museum as part of a 12-minute video that features interviews with some of the renovators.

    The Queens Museum’s assistant director of archives and collections, Lynn Maliszewski, who took CNN on a visit of the Panorama in early March, said she hopes the book and video will help to draw more visitors and attention to the copious amount of labor — over 100 full-time workers, from July 1961 to April 1964 — that went into building the model.

    “Sometimes when I walk in here, I get goosebumps, because this is so representative of dreams and hopes and family and struggle and despair and excitement… every piece of the spectrum of human emotion is here (in New York) happening at the same time,” said Maliszewski. “It shows us things that you can’t get when you’re on the ground.”
    Original purpose
    The Panorama was originally built for the 1964 New York World’s Fair, then the largest international exhibition in the US, aimed at spotlighting the city’s innovation. The fair was overseen by Robert Moses, the influential and notorious urban planner whose highway projects displaced hundreds of thousands New Yorkers. When Moses commissioned the Panorama, which had parts that could be removed and redesigned to determine new traffic patterns and neighborhood designs, he saw an opportunity to use it as a city planning tool.

    Originally built and revised with a margin of error under 1%, the model was updated multiple times before the 1990s, though it is now frozen in time. According to Maliszewski, it cost over $672,000 to make in 1964 ($6.8 million in today’s money) and nearly $2 million (about $4.5 million today) was spent when it was last revised in 1992.

  4. KellyIroke表示:

    The fish collectors hoping to save rare species from extinction
    phantom wallet
    In the rural town of Petersham, Massachusetts, 78-year-old Peter George keeps 1,000 fish in his basement.

    “Baseball, sex, fish,” he says, listing his life’s great loves. “My single greatest attribute is that I am passionate about things. That sort of defines me.”

    All of George’s fish are endangered Rift Lake cichlids: colorful, freshwater fish native to the Great Lakes of East Africa. Inside his 42 tanks, expertly squeezed into a single subterranean room, the fish shimmer under artificial lights, knowing nothing of the expansive waters in which their ancestors once swam, thousands of miles away.

    Due to pollution, climate change and overfishing, freshwater fish are thought to be the second most endangered vertebrates in the world. In Lake Victoria, a giant lake shared between Kenya, Uganda and Tanzania, over a quarter of endemic species, including countless cichlids, are either critically endangered or extinct.

    But for some species, there is still hope. A community of rare fish enthusiasts collect endangered species of freshwater fish from the lakes and springs of East Africa, Mexico and elsewhere, and preserve them in their personal fish tanks in the hope that they might one day be reintroduced in the wild.

    “I’m a hard ass,” George says. “There is hope.”
    Insurance
    George has been collecting fish since 1948 when, as a four-year-old in the Bronx, he would look after his grandmother’s rainbow fish. He soon developed “multiple tank syndrome” – a colloquial term used by fish collectors to denote the spiral commonly experienced after acquiring one’s first tank, which involves the sufferer buying many more tanks within a short space of time. He has not stopped collecting since.

    Now, George sees himself as a conservationist; his tanks contain what is known as “insurance populations” – populations of endangered fish that are likely to go extinct in their natural habitats. He believes that when the time is right, they can be taken from his collection and returned to their homes. “I would never accept the fact that they couldn’t be reintroduced,” he says.

  5. Jamesavata表示:

    пин ап вход – пин ап казино официальный сайт

  6. certainly like your website but you need to test the spelling on several of your posts. A number of them are rife with spelling issues and I in finding it very bothersome to tell the truth then again I’ll surely come back again.|

  7. Masterylg表示:

    Психолог оказывает помощь онлайн в чате. Помощь психолога онлайн. Психолог оказывает помощь онлайн в чате.

  8. Mirrortld表示:

    В переписке у психолога. Психолог онлайн анонимно. Психолог t me.

  9. JesseDex表示:

    пин ап казино зеркало: https://pinupkz.life/

  10. Williamuniot表示:

    пин ап казино – pinup 2025

  11. Jamesavata表示:

    pinup 2025 – пин ап казино

  12. My partner and I stumbled over here by a different web page and thought I should check things out.
    I like what I see so i am just following you.
    Look forward to looking into your web page again.

  13. JesseDex表示:

    pinup 2025: https://pinupkz.life/

  14. Jamesavata表示:

    пинап казино – пинап казино

  15. Peopleril表示:

    Психолог помогающий искать решения в непростых психологических ситуациях. Получить онлайн консультацию психолога чате. Психолог онлайн анонимно.

  16. Williamuniot表示:

    пин ап казино зеркало – пин ап казино официальный сайт

  17. JesseDex表示:

    пин ап казино зеркало: https://pinupkz.life/

  18. Samwmc表示:

    Получить КОНСУЛЬТАЦИЮ и ПОДДЕРЖКУ профессиональных психологов. Психолог в телеграм. Психолог t me.

  19. Jamesavata表示:

    pinup 2025 – пин ап

  20. KevinPsync表示:

    AquaSculpt weight loss is here to stay! With AquaSculpt capsules, you get fast AquaSculpt results thanks to natural AquaSculpt ingredients. No worries about AquaSculpt side effects—users confirm it in AquaSculpt reviews. Curious AquaSculpt how to use? It’s easy and effective. AquaSculpt where to buy? Visit http://aquasculpt.xyz and transform your body now!

  21. JesseDex表示:

    пин ап казино: https://pinupkz.life/

  22. Stormntr表示:

    Анонимный чат с психологом телеграм. Круглосуточная запись на онлайн-консультацию психолога. Чат с психологом в телеге.

  23. Dreamctg表示:

    Психологическая и информационная онлайн-помощь. В переписке у психолога. Телеграм психолог.

  24. Jamesavata表示:

    pinup 2025 – пин ап казино официальный сайт

  25. Hey there! Do you know if they make any plugins to protect against hackers? I’m kinda paranoid about losing everything I’ve worked hard on. Any recommendations?

  26. How to Swap Tokens on ApeSwap: A Complete Guide 2025

發佈留言

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