Coevolving Innovations

… in Business Organizations and Information Technologies

Extracting the longitude and latitude from a Google Map

I like Google Maps, because they provide a lot of context around the location that I’m searching. With the amount of travel that I do, it’s always nice to know what’s near the hotel — particularly restaurants, hotels, and shopping.

I’m setting up a new CiviCRM web site, and it has the feature of asking about the longitude and latitude of locations (e.g. home address) when filling in the user profile. It’s easy enough to find the place using Google Maps, but decoding the URL is pretty tricky.

In an entry on Google Maps Help Group, someone asking that exact question got a response:

When I do a search, I’d like to get the latitude and longitude results for the location I’m searching. How do I do this?

Copy this line into the address bar of your browser

  • javascript:void(prompt(”,gApplication.getMap().getCenter()));

It displays the latitude and longitude of the centre point of the map.

Location-based services is thought to be one of the next big things. Knowing where you want to go works out a lot better if you know where you are, though.

1 Comment

  • Note that CiviCRM has a feature that will query google or yahoo and get the lat/long given an address. To enable this make sure you have entered you mapping provider and api key in global settings


Leave a Reply

Your email address will not be published. Required fields are marked *

  • RSS qoto.org/@daviding (Mastodon)

    • daviding: “Reassured that qoto.org is on the Wayback Machine @interneta…” November 27, 2022
      Reassured that qoto.org is on the Wayback Machine @internetarchive .https://web.archive.org/web/20220000000000*/Qoto.org
    • daviding: “Researching #Contextualism, online archive of "#RootMetaphor…” November 26, 2022
      Researching #Contextualism, online archive of "#RootMetaphor: The Live Thought of #StephenCPepper" from Paunch 1980 magazine is helpful. Philosopher of aesthetics a follower of #JohnDewey, contemporary of #KurtLewin, senior to #ThomasKuhn, #EricTrist https://ingbrief.wordpress.com/2022/11/26/root-metaphor-the-live-thought-of-stephen-c-pepper-1980/ #SystemsThinking
    • daviding: “#Autopoiesis, as coined by #HumbertoMaturana, is in the #Con…” November 23, 2022
      #Autopoiesis, as coined by #HumbertoMaturana, is in the #Contextualist #RootMetaphor of #StephenCPepper, rather than the organismic root metaphor, say #HowardMancing and #JenniferMarstonWilliam #PurdueLibArts https://ingbrief.wordpress.com/2022/11/23/autopoiesis-as-in-the-contextualist-root-metaphor-mancing-marston-william-2022/ #SystemsThinking
    • daviding: “As much as #JudithRosen channels the work of her father, #Ro…” November 17, 2022
      As much as #JudithRosen channels the work of her father, #RobertRosen, the long conversations on #AnticipatorySystems she used to have with him have led to #SystemsThinking ideas that are probably officially unpublished by him, and should be credited to Judith herself. > I have come to view the consciously aware mind, as experienced by human […]
    • daviding: “A fork of Mastodon is Fedibird, with features more like Twit…” November 16, 2022
      A fork of Mastodon is Fedibird, with features more like Twitter. https://github.com/fedibird/mastodonThe lead developer is @noellabo . The Fedibird site looks to prefer Japanese writers. https://fedibird.com/explore If anyone knows of English language Fedibird instances, perhaps we could help others to find them.
  • RSS on IngBrief

  • Recent Posts

  • Archives

  • RSS on daviding.com

    • 2022/10 Moments October 2022
      Madrid long walks and museums, Barcelona beach and lectures, recovery from jet lag back in Toronto
    • 2022/09 Moments September 2022
      A month with much activity, starting in NYC for a weekend, returning to Toronto to care for my father in the hospital, and ending the month in Madrid, Spain.
    • 2022/08 Moments August 2022
      Busy social calendar of summer family gatherings and local festivals, interspersed with otherwise invisible journal article writing.
    • 2022/07 Moments July 2022
      Enjoying summer with Toronto Jazz, then road trip to Iowa and Chicago.
    • 2022/06 Moments June 2022
      Social calendar for month was full with Toronto Biennal of Art, Luminato, Taste of Little Italy and Toronto Jazz Festival, plus family dim sum and dinners.
    • 2022/05 Moments May 2022
      Spring return from California visit, into Toronto coming back to life with city activities.
  • RSS on Media Queue

  • Meta

  • Creative Commons License
    This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
    Theme modified from DevDmBootstrap4 by Danny Machal