Pascal Studio

pascal-studio

(Update: This temporary site has now been removed and the URL redirects to the main Pascal pour Elle site. The original site can still be seen at pascal-studio.impactcsg.com)

The sequel to Pascal pour Elle, this is a new salon by the same owner opening in Chicago’s Bucktown neighborhood. The site is (currently) pretty minimal, serving as more of a brochure than a source of information, and is somewhat heavy with large images and Google fonts. But I’m still happy with how it turned out.

Caching Google Maps geocoding lookups

Google Maps geocoding — the ability to send an AJAX request with a street address and get back a specific latitude and longitude (and lots of other data) in response — is a very useful tool for any number of mapping applications. Best of all, these applications can be written in pure JavaScript — but at a price. Google has strict usage limits for its free geocoding service, which can only be increased for a fee.

However, if your application tends to hit the same addresses over and over again — say, to plot the location of restaurants near your business address — it’s possible to cache these lookups in a database. You’ll still be using Google to look up new addresses, but any user hitting the same address twice in the same day will use your database instead of Google’s service. Continue reading Caching Google Maps geocoding lookups

Geocoding with Google Maps without OVER_QUERY_LIMIT errors

Problem: A JavaScript application needs to do more geocoding lookups than Google will let you do at once. It’s possible to use setTimeout() to make JavaScript wait, but with the callbacks, it’s cumbersome.

Solution: Use a server-side script that will retrieve the same data, requesting it over and over if an OVER_QUERY_LIMIT error occurs.

Continue reading Geocoding with Google Maps without OVER_QUERY_LIMIT errors

Development links

jQuery UI 1.9 – New widgets, new APIs, and a whole new look to the site. (UPDATE: version 1.9.1 is out.)

Google Static Maps wizard and Google styled maps wizard – How did I not find these sooner? When embedding Google Maps in a webpage, it’s fun to embed a dynamic map, but faster and lighter to use the Static Maps API. Either way, these Google-built wizards will make preparing them much faster.

 

Highroad Consulting, Ltd.

Highroad Consulting, Ltd.
Highroad Consulting, Ltd.

http://www.highroadconsulting.com

As usual, I didn’t design this one, I just built it. A little bit of jQuery, a lot of CSS, a splash of embPerl and Google Maps API on the contact page, all built on top of an HTML5 template (with Modernizr providing the shiv for older browsers). The homepage uses a variation on my simple slideshow which interacts with the main navigation tabs.

Continue reading Highroad Consulting, Ltd.