• Resolved smarta-brett

    (@smarta-brett)


    https://moviejobs.com.au/browse-jobs-half-map/

    just starting to set up this site & have the maps API and everything in place (site verified etc)
    I have these API’s active
    Maps Embed API
    Geocoding API
    Geolocation API
    Maps JavaScript API
    Places API

    I’ve set the co-ordinates for the map to centre on Sydney Australia
    I only have one job vacancy in so far
    the address pops up when I start to type so Google obviously thinks it is valid

    the map on the page above does not zoom to it (the location is about 900 miles north of Sydney)
    the listing does not show up on the map even when I manually move it to the correct location

    I’ve looked thru all the settings and can’t seem to find anything wrong

    any suggestions?

    • This topic was modified 4 years, 2 months ago by smarta-brett.
Viewing 4 replies - 1 through 4 (of 4 total)
  • @smarta-brett

    Did you restrict your API key in the maps console? Although as far as I know you need 2 API Keys, one for the server and one for the browser. The browser key needs an HTTP ULR restrict.
    You are using the workscout theme, here is a link how to set it up
    https://www.docs.purethemes.net/workscout/knowledge-base/getting-google-api-key/

    Another issue could be a cahing plugin. Are you running one right now?
    And how did you do the zoom of the map?

    Thread Starter smarta-brett

    (@smarta-brett)

    Hi – thanks for the reply

    I started again and created a new API (in case I did something wrong when I first set it up)

    I have (now added) the 2nd unrestricted API to the job listing admin (as per the instruction in the link you sent)

    so I have one API restricted to both http & https://mydomain (added to Workscout core)
    and one API unrestricted (added to JobListing settings)

    its still not working

    not using any cache plugins
    tried several fresh browsers

    I zoomed to the actual location and it not showing on map (I used the +- symbols on the map to zoom

    @smarta-brett
    maybe you should contact the theme devs, so they can help you out. Seems like the issue is comming from workscout not from WPJM

    Plugin Contributor Cena (a11n)

    (@cena)

    Hi @smarta-brett ,

    Sorry for the delay in responding here!

    That said, braehler is correct – WPJM itself doesn’t create/generate Google Maps, your theme does. WPJM just takes in geolocation data for jobs (if provided), allows a space for entering your API key, but then it’s up to a theme to take that information and put the map on the screen.

    Best,
    Cena

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘jobs not geolocating’ is closed to new replies.