?
Solved

Google Map controls invisible in iPhone, and marker behaves strangely

Posted on 2014-03-15
3
Medium Priority
?
456 Views
Last Modified: 2014-03-15
I have a Google Map at www.mauivacationrental.com/maptest.htm   Zoom and map type controls are enabled, and they appear (and function) on a desktop or iPad, but not on iPhone.  Aside from that, zooming in on the marker doesn't focus on our the lat/long settings , like it does on iPad or desktop.   I'd like to render the controls visible, and make the marker perform as expected.

The map is intentionally panned on initial loading, and is supposed to center on the marker with change in zoom or tapping the marker.
0
Comment
Question by:ddantes
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 2000 total points
ID: 39931821
Looks to be centering to me unless I'm missing the question.
0
 

Author Comment

by:ddantes
ID: 39931847
The issue only occurs with iPhone.
I've just found that changing the dimensions of the map canvas div appears to have resolved this.  I'll do a little more testing and post again.
0
 

Author Closing Comment

by:ddantes
ID: 39931869
Tweaking the map_canvas dimensions solve it.  Thanks for testing.
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question