Paypal – my zip code is not correct

Recently I had to enter an alternative address for my PayPal account.
I was stuck while attempting to insert the zip code because my five digits zip code was not validated by the PayPal interface.
Usually javascript takes care of such kind of validation. So I was able to dig into the code searching for a way to override it 🙂

Continue reading →

Adding some padding on a Google Maps

Some days ago I was asked to make a google maps with a nice translucent bar on “position absolute”.

Everything worked fine until some of the map markers went under the box.

To fix this issue I had to use the Projection object to translate the vertical and horizontal box pixels into gmaps coordinates and then extend the map bounds.

Continue reading →