First of all: Google Maps 3 does not need an api key anymore, so you are fine with
https://maps.googleapis.com/maps/api/js?sensor=false
as an URL.
(As Jeff Hoye pointed out, as of June 22, 2016, an API Key is required again.)
And then you forgot the “new” in this line:
var map = new google.maps.Map(document.getElementById("map-canvas"), mapOptions);
With those changes your map will be displayed.
Related Contents:
- Google Maps JS API v3 – Simple Multiple Marker Example
- Google Maps API v3: How to remove all markers?
- Google Map API v3 — set bounds and center
- Auto-center map with multiple markers in Google Maps API v3
- Google Maps API v3: Can I setZoom after fitBounds?
- Google Maps JavaScript API RefererNotAllowedMapError
- Google maps API V3 – multiple markers on exact same spot
- How to trigger the onclick event of a marker on a Google Maps V3?
- Center Google Maps (V3) on browser resize (responsive)
- Google Maps API v3: How do I dynamically change the marker icon?
- Verify if a point is Land or Water in Google Maps
- Google Maps: Auto close open InfoWindows?
- Google Maps v3 – limit viewable area and zoom level
- Google Maps API Multiple Markers with Infowindows
- Google Maps API v3: How to remove an Event Listener?
- Have just one InfoWindow open in Google Maps API v3
- Google Maps v3: Enforcing min. zoom level when using fitBounds
- Google maps API V3 method fitBounds()
- Google Maps Api v3 – getBounds is undefined
- Using setZoom() after using fitBounds() with Google Maps API V3
- Google Maps API v3 infowindow close event/callback?
- How to set zoom level in google map
- Google maps Places API V3 autocomplete – select first option on enter
- How do I limit panning in Google maps API V3?
- Google Maps API V3 : How show the direction from a point A to point B (Blue line)?
- How can I create numbered map markers in Google Maps V3?
- Google Map API v3 ~ Simply Close an infowindow?
- Google Map Highlight the Path on Drag in the Route
- Using Address Instead Of Longitude And Latitude With Google Maps API
- Google Maps API 3: Get Coordinates from Right-Click
- What’s the API Key for in Google Maps API V3?
- Clip Google Maps JS API ImageMapType to a polygon
- How to Display Multiple Google Maps per page with API V3
- Google Maps API: open url by clicking on marker
- disable zooming dragging in Google maps by clicking on a button
- Get google.maps.Map instance from a HTMLElement
- Do I need to hide API key when using google maps js API? If so, how? [duplicate]
- Events other than ‘place_changed’ for Google Maps Autocomplete
- Google Maps API v3 adding an InfoWindow to each marker
- Getting Google Maps link from place_id
- Maximum Lat and Long bounds for the world – Google Maps API LatLngBounds()
- Google Maps SVG marker doesn’t display on IE 11
- Handling click events in Google Maps JS API v3 while ignoring double clicks
- Automatically adjust zoom to accommodate all marker in a google map
- Google Maps v3 API – Auto Complete (address)
- Zoom in to marker google.maps
- How to make cross-domain AJAX calls to Google Maps API?
- How to get address location from latitude and longitude in Google Map.? [closed]
- Close all infowindows in Google Maps API v3 [duplicate]
- google maps your timeline api