eschwartz / backbone.googlemaps

A Backbone JS extension for interacting with the Google Maps API (v3.10)
MIT License
139 stars 55 forks source link

getLatLng -> getLatlng in the docs. #9

Closed msurguy closed 11 years ago

msurguy commented 11 years ago

It is either the source code that should have getLatLng of the model or the docs that should have getLatlng. This pull request does the docs update but you might want to change the source instead. Thanks for this Backbone extension! Makes my life easier =)

eschwartz commented 11 years ago

Thanks for pointing that out.

Google uses camel case naming for its LatLng Class -- I'd like to stay in line with their naming conventions.

Resolved in b867be6e7d25b754367252e3dd897e1a1287376b

I kept the original function name, passing through logic to the new getLatLng, so I don't break anyone's scripts. I just don't like threatening phone calls in the middle of the night so much... (6b25de3c7b571b8601dfea973b7ab1e8ce5d1458)