Got as far as editing scripts.js for PSET8 and it seems that for this part of the code:

var options = {
    center: {lat: 42.3770, lng: -71.1256}, // Cambridge, Massachusetts
    disableDefaultUI: true,
    mapTypeId: google.maps.MapTypeId.ROADMAP,
    maxZoom: 14,
    panControl: true,
    styles: styles,
    zoom: 13,
    zoomControl: true

Even though I've changed the lat & lng to make the map center Cambridge, Massachusetts and saved, the map centre remains the same as before. Additionally, even though I'm using the same 'add marker' code as I had last year, no markers are on the page. This leads me to believe that the map isn't updating properly with my code. Any help on this much appreciated!

1 Answer 1


Have you tried clearing the browser cache (shift-reload or ctrl-F5)? That will cause the browser to re-download your js file. Since you mention "code from last year" is it possible apache is started in a different "path-to-root" than you expect?

  • Hey DCS, it seemed that the issue resolved as the next day I revisited and the changes updated. The issue then popped up again with some new revisions and the browser cache didn't help but I successfully submitted anyway, thanks for the help!
    – Fede B
    Mar 24, 2016 at 14:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .