- This topic has 28 replies, 13 voices, and was last updated 12 years, 6 months ago by giuseppe.scordino.
-
AuthorPosts
-
butschkowMemberHi.
Here’s how to determine your current location from javascript:
http://www.thecssninja.com/javascript/geolocation-iphoneRegards,
Per
ranuMemberThis message has not been recovered.
geebeeMemberThis message has not been recovered.
support-michaelKeymasterThis message has not been recovered.
DonsarMemberI 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>
Albatros78ParticipantHello 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>
But the map is not displayed!
Any idea ?
Donsar, please could you zip your code and post itThanks for your help
Albatros78ParticipantJust tried also into MB1 1.4.2 (upgrading project) and always no map into testcenter
Any idea ?
thanks
d96linusMember@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>
But the map is not displayed!
Any idea ?
Donsar, please could you zip your code and post itThanks 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.
Albatros78ParticipantOups ok. rendering is fine
thanks
Max87MemberHi 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.
BrandonMemberI 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.
BrandonMemberHas 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.
giuseppe.scordinoMemberDear 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.
giuseppe.scordinoMemberHello,
anyone is able to help on what above?
Thanks a lot in advance.
Giuseppe
-
AuthorPosts