Your address will show here +12 34 56 78

Home Forums WP RESIDENCE – Real Estate WordPress Theme FORUM how to change main map into Satellite mode

This topic contains 6 replies, has 3 voices, and was last updated by  blue928 3 years ago.

  • Author
  • #73486

    Islam Hanafieh

    I’m trying to change the main google header map into Satellite mode, how can I do that?
    can I do that by change any code in the theme?


  • #74105

    Islam Hanafieh

    hey all.. here is it, just edit these files and lines:

    wpresidence\js\control.js (2 hits)
    	Line 1135:              mapTypeId: google.maps.MapTypeId.ROADMAP,
    	Line 1138:              mapTypeIds: [google.maps.MapTypeId.ROADMAP]
    wpresidence\js\google_js\admin_google.js (1 hits)
    	Line 23:          mapTypeId: google.maps.MapTypeId.ROADMAP
    wpresidence\js\google_js\google_map_code.js (2 hits)
    	Line 36:              mapTypeId: google.maps.MapTypeId.ROADMAP,
    	Line 39:              mapTypeIds: [google.maps.MapTypeId.ROADMAP]
    wpresidence\js\google_js\google_map_code_contact.js (2 hits)
    	Line 26:             mapTypeId: google.maps.MapTypeId.ROADMAP,
    	Line 29:             mapTypeIds: [google.maps.MapTypeId.ROADMAP]
    wpresidence\js\google_js\google_map_code_listing.js (4 hits)
    	Line 47:              mapTypeId: google.maps.MapTypeId.ROADMAP,
    	Line 50:                 mapTypeIds: [google.maps.MapTypeId.ROADMAP]
    	Line 61:              mapTypeId: google.maps.MapTypeId.ROADMAP,
    	Line 64:                 mapTypeIds: [google.maps.MapTypeId.ROADMAP]
    wpresidence\js\google_js\google_map_submit.js (1 hits)
    	Line 34:              mapTypeId: google.maps.MapTypeId.ROADMAP

    change every ROADMAP word with one of the other google maps types,
    here is a list of all the types

    ROADMAPdisplays the default road map view. This is the default map type.
    SATELLITEdisplays Google Earth satellite images
    HYBRIDdisplays a mixture of normal and satellite views
    TERRAINdisplays a physical map based on terrain information.

    see you later 😀

  • #75635


    Hello again

    Thank you for the follow up.

    That is correct.

    We also have this forum –

    Thank you

  • #77323

    Islam Hanafieh

    thanks again Anna.. and sorry i did not find the forum when i added my question..
    but i think there is a problem with the site search tool.. here is a photo!


  • #78314



    I see – I will disable that search. This is the search for forum

    Thank you

  • #78459

    Islam Hanafieh

    thanks a lot.. again and again.. u still the best 😛

  • #99984


    Rather than have to choose one or the other, is it possible to have the options back that let the user switch between Satellite and Roadmap?

You must be logged in to reply to this topic.