Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Maps.google

  1. #1
    Newbie
    Join Date
    Mar 2007
    Posts
    8

    Maps.google

    Ok,

    new here and I have a lot of expierence with macs and the IT world. So if an of you developers needs a beta tester let me know.

    now on to my questions.

    I know there are aps for cell phones to get google maps with GPS. Has any one tried to get it working on a MAC. If so with an internet connection this would be the best mapping software, they just added trafic.

    ANy ideas?

  2. #2
    Low Bitrate
    Join Date
    Sep 2006
    Posts
    83
    you might want to search a little bit. BugByte had a little guide on how to get GPS and google maps to work. It will take a little work, but it looks like there is no plug-n-play.

    EDIT:
    Well I tried to find it but I couldn't . But here is one for RoadNav:
    Roadnav User report - A Free GPS solution for the Mac

    That one links to the relevant post here:
    Another Navigation system based on Google Earth or...

    Go to post #11 it's bugbyte's instructions on how to do it. I think if you have internet connection 24/7 in the car then your GPS options open up.

  3. #3
    Newbie
    Join Date
    Mar 2007
    Posts
    8
    Thats for google earth, I want google maps. Google earth is impressive but bandwidth intensive as well as not a good solution for an in car navigation. I am going to implement bugbytes GE app because I do geobloging and love me some GE, but if we can get maps.google.cm to work with the cell phone apps its small takes little bandwidth and can be incorporated in front ends liek AMP and all the others.


    Keeping in mind the cell phone apps are java. I have it working on my BB 8800 and it give turn by turn as well as live traffic.


    Check it out

    http://www.mgmaps.com/

  4. #4
    QCar Creator Jirka Jirout's Avatar
    Join Date
    Jul 2005
    Location
    Netherlands
    Posts
    590
    Quote Originally Posted by talk2dug View Post
    I know there are aps for cell phones to get google maps with GPS. Has any one tried to get it working on a MAC. If so with an internet connection this would be the best mapping software, they just added trafic.
    Yes, we have tried this in QCar and it works.

  5. #5
    Newbie
    Join Date
    Mar 2007
    Posts
    8
    Where is the download? I have looked for Qcar and can not find it. Or show me/ tell me how to get the app to run on a mac.

    Or just point me in the right direction. And ill add it as a plugin into AMP.

    THanks

  6. #6
    Newbie
    Join Date
    Mar 2007
    Posts
    8
    surprising no one has commented on this. Is it not a viable solution? Are there better free GPS solutions for the mac, besides roadnav. Roadnav is not a good solution.



    A bit confused by the lack of responses....

  7. #7
    Newbie
    Join Date
    Mar 2007
    Posts
    8
    SO how did you get it to work? Please PM me, I would LOVE to get this working...

  8. #8
    Takes it in the Rear kevinlekiller's Avatar
    Join Date
    Dec 1969
    Location
    Where the penguins and polar bears live.
    Posts
    687
    TatraApp is dead, here comes QCar 6th link google.com , skimming through the thread says its in closed beta.

  9. #9
    Newbie
    Join Date
    Mar 2007
    Posts
    8
    Well how about throwing a bone to the community on how to run the GMAPS on the mac.....

  10. #10
    QCar Creator Jirka Jirout's Avatar
    Join Date
    Jul 2005
    Location
    Netherlands
    Posts
    590
    OK, here is your bone ;-) This is a basic principle of integration of Google Maps into a Cocoa application.

    1. You need to create a web page, that you will be displaying. This can be the standard Google Maps API example with one exception - you need to define the variable map in the body, so it becomes global:
    Code:
    <body>
      <div id="map" style = "width:800px; height:512px;"></div>
      <script language="JavaScript" type="text/javascript">
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(0, 0)); // or your default location
      </script>
    </body>
    2. Then you create a Cocoa application, make sure you include the WebKit in the project, create a WebView in a window, point an instance variable (named mapView below) to the window and load the above mentioned document into the WebView.

    3. Now you can easily communicate with the displayed map, something like this:
    Code:
    // you would of course get this by parsing the GPS output
    NSString *lat = "50.12345"
    NSString *lon = "04.00012"
    NSString *jsCmd = [NSString stringWithFormat:@"map.panTo(new GLatLng(%@, %@));",lat, lon];
    id document = [mapView windowScriptObject];
    NSString *err = [document evaluateWebScript:jsCmd];
    This way you can call all the Google JavaScript API functions, typically as a response to OS X GUI actions. Another quick example would bee zoom, called in response to a button click:

    Code:
    -(IBAction)ZoomIn:sender{
        id document = [mapView windowScriptObject];
        NSString *jsCmd = @"map.zoomIn();";
        NSString *err = [document evaluateWebScript:jsCmd];
    }

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •