facebook

MobiOne Zipcode2Geolocation w/ Google Map Example

  1. MobiOne Archive
  2.  > 
  3. Examples, HOW-TOs
Viewing 14 posts - 16 through 29 (of 29 total)
  • Author
    Posts
  • #318694 Reply

    butschkow
    Member

    Hi.

    Here’s how to determine your current location from javascript:
    http://www.thecssninja.com/javascript/geolocation-iphone

    Regards,
    Per

    #320414 Reply

    ranu
    Member

    This message has not been recovered.

    #322338 Reply

    geebee
    Member

    This message has not been recovered.

    #322878 Reply

    support-michael
    Keymaster

    This message has not been recovered.

    #323207 Reply

    Donsar
    Member

    I download the example and MobiOne ask me if I want to update / modify the code. I said yes. Other than that modification I have not made any changes, but the map will not display on my phone or in the emulator. What do I need to fix the issue? A google acount / api key? Or should the map work right out of the box? My bad,.. found <script type=”text/javascript” src=”http://maps.googleapis.com/maps/api/js?sensor=false”></script&gt;

    #323212 Reply

    Albatros78
    Participant

    Hello Donsar, Wayne

    Very nice code….

    I downloaded also the code and run it with MB1 1.4.1.

    I modified html file with your recommandation, so:

    <script type=”text/javascript” src=”http://maps.googleapis.com/maps/api/js?sensor=false”></script&gt;

    But the map is not displayed!

    Any idea ?
    Donsar, please could you zip your code and post it

    Thanks for your help

    #323428 Reply

    Albatros78
    Participant

    Just tried also into MB1 1.4.2 (upgrading project) and always no map into testcenter

    Any idea ?

    thanks

    #323485 Reply

    d96linus
    Member

    @Albatros78 wrote:

    Hello Donsar, Wayne

    Very nice code….

    I downloaded also the code and run it with MB1 1.4.1.

    I modified html file with your recommandation, so:

    <script type=”text/javascript” src=”http://maps.googleapis.com/maps/api/js?sensor=false”></script&gt;

    But the map is not displayed!

    Any idea ?
    Donsar, please could you zip your code and post it

    Thanks for your help

    You have to modify the html file within Test Center -> Tools -> Source code and then save and reload. It works for me.
    You probably lost your changes somehow.

    #323814 Reply

    Albatros78
    Participant

    Oups ok. rendering is fine

    thanks

    #325032 Reply

    Max87
    Member

    Hi guys,
    I’d like to include google maps in my apps.
    I have two questions:

    I have Link text and panel, which is hidden. After clicking Link text, panel should display and load map with custom(static) coordinates. Question is, if it is okay with .show() and .hide() properties?
    Second question: according to developers.google.com, Google Map API requires API key. Is it safe to obtain one?
    In Wayne’s example, there is js?sensor=false in <script tag in html. But google has js?key=YOUR_API_KEY&sensor=SET_TO_TRUE_OR_FALSE tag.
    If I use Wayne’s link in my app(in Zip2Geo works fine), map is not loading.

    Thanks for any help.

    #326119 Reply

    Brandon
    Member

    I just purchased MobiOne and i am trying to run this sample, I got it to show the map, but it wont recent on the lnglat.
    I got it working.

    #326137 Reply

    Brandon
    Member

    Has anyone successfully incorporated this into their own project they could share, just the map part to show a location? Ive been trying to add a map by piecing this in but havent been able to get it to work. I would really like to show an address, but a long/lat is ok for now also.

    Thanks.

    #326224 Reply

    Dear Octavio,

    the example is fine. There was a well know issue regarding the google map grey pop-up that was covering part of the map. The issue was solved calling the google api v3 in the html script. (so without modifying the code)

    Recently (17 May) google released new api version and now is appearing again the issue of the grey pop-up hiding the map.

    Do you have any hint in order to fix the issue in a permanent way?

    Thanks a lot in advance for your help.

    Best Regards,
    G.

    #326418 Reply

    Hello,

    anyone is able to help on what above?

    Thanks a lot in advance.

    Giuseppe

Viewing 14 posts - 16 through 29 (of 29 total)
Reply To: MobiOne Zipcode2Geolocation w/ Google Map Example

You must be logged in to post in the forum log in