Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panMap function doesn't treat bounds as number #2

Closed
GoogleCodeExporter opened this issue Aug 5, 2015 · 1 comment
Closed

panMap function doesn't treat bounds as number #2

GoogleCodeExporter opened this issue Aug 5, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. in function InfoBox.prototype.panMap
2. at line "var iwWestLng = position.lng() + (iwOffsetX - padX) * degPixelX;"
3. position.lng() is treated as a string, so subsequent addition works as
string does and simply be appended at the end of position.lng() value

What is the expected output? What do you see instead?
I should see map pan to the left when infowindow right bound is bigger than
map's right bound. Instead I see infowindow be trunked (as if map has an
overflow hidden property)

What version of the product are you using? On what operating system?
I downloaded javascript used in this demo:
http://gmaps-samples-v3.googlecode.com/svn/trunk/infowindow_custom/infowindow-cu
stom.html

Please provide any additional information below.


Original issue reported on code.google.com by fadesla...@gmail.com on 31 Aug 2009 at 1:48

@GoogleCodeExporter
Copy link
Author

I forgot to say I use Firefox 3.5.2 on Windows XP Professional SP2

Original comment by fadesla...@gmail.com on 31 Aug 2009 at 1:50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants