How to make the Classipress Google Map to default in Hybrid Mode

One of Classipress best feature is the inclusion of Google Maps. Once the user entered a street address, his posting will automatically show a map based on the given location. This is really a cool and useful feature specially for Real Estate Classipress site as users would no longer have to include a map image on their real property ads listings. This feature has made Classipress one of the best wordpress classifieds theme there is.

Classipress Default Simple Google Map

I prefer to have the Classipress Google map to default in hybrid mode because it is more visually appealing than the simple map. The hybrid map is a combination of a map and satellite imagery that which I find better graphically and visually. It is also very useful for Classipress Real Estates Classifieds sites because it can provide a bird’s eye view of the listed property at first glance. However, the Classipress Google map default display is on simple street map.

Classipress in Default Hybrid Google Map

Making your Google map default in hybrid mode is easy as it can be done by just adding a simple code. Go to your dashboard’s theme editor and edit the theme functions (functions.php). Find this code;

map.setCenter(point, 13);

And just add this, G_HYBRID_MAP to make it look like this

map.setCenter(point, 13, G_HYBRID_MAP);

And your Classipress Google map is now on hybrid map default. Have a great day.

This entry was posted in Plugins and Mods and tagged . Bookmark the permalink.

7 Responses to How to make the Classipress Google Map to default in Hybrid Mode

  1. john says:

    wow thats so easy!

  2. admin says:

    Yes it is. Thanks for dropping by.

  3. junserey says:

    Why Google Map doesn’t show up, when my address is in Cambodia. Does it require any address format? Anyone can help would be appreciated.

    Thanks in advance

  4. admin says:

    I think your country is not fully mapped yet on the street level. The best thing for you to do is to have your user to enter location/address on the town/municipal level.

  5. Thanks for this great tips. Have change to Hybrid mode and it works. Another question, how to change the Google Map to the latest version. This one can’t use mouse to zoom. Any solutions? Thanks in advance!

  6. admin says:

    I’ll check it out soon with Google Map’s API

  7. localriding says:

    Great Tip…

    Do you know of a quick way to set the zoom level of the map.

    I’d like mine to start a little bit further out?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word