var fgp_map;
var fgp_bounds;
var fgp_locationCount;
var fgp_mapOptions;
var fgp_mapMarkers = [];
var fgp_infoWindow = null;
var fgp_defaultZoom = 14; // The minimum zoom level
var fgp_mapElement = null;
// Set marker attributes. If you need unique values for each marker,
// you can update the values directly in the fgp_locations array.
var fgp_markerWidth = 32;
var fgp_markerHeight = 42;
var fgp_markerScale = 0.75; // Scale the image, if you can't control the source file (0 - 1).
// The array of fgp_locations to mark on the map.
var fgp_locations = [
{
"id":53256,
"title":"157 East 74th Street, Apt 3A",
"location":"New York, NY, United States",
"price":"US $2,600,000",
"shortprice":"$2.6M",
"url":"https://fgp.frozenfishdev.com/listings/157-east-74th-street-apt-3a/",
"img":"https://fgp.frozenfishdev.com/wp-content/uploads/2021/04/A.20157_E_74_3A_066-700x467.jpg",
"position":{
"lat":40.77163,
"lng":-73.96069
},
"config":{
"url":"https://fgp.frozenfishdev.com/wp-content/themes/fgp/imgs/mapmarker.png",
"size": new google.maps.Size(fgp_markerWidth, fgp_markerHeight),
"origin": new google.maps.Point(0, 0),
"labelOrigin": new google.maps.Point(12, -10),
"anchor": new google.maps.Point(fgp_markerWidth * (fgp_markerScale / 2), fgp_markerHeight * fgp_markerScale),
"scaledSize": new google.maps.Size(fgp_markerWidth * fgp_markerScale, fgp_markerHeight * fgp_markerScale)
},
"mapsize": new google.maps.Size(fgp_markerWidth * (fgp_markerScale / 4) * -1, fgp_markerHeight * fgp_markerScale),
},
{
"id":53189,
"title":"145 Central Park West, 4C",
"location":"New York, New York, United States",
"price":"US $24,000,000",
"shortprice":"$24.0M",
"url":"https://fgp.frozenfishdev.com/listings/145-central-park-west-4c/",
...
Please Whitelist JSFiddle in your content blocker.
Help keep JSFiddle free for always by one of two ways:
Whitelist JSFiddle in your content blocker (two clicks)
Go PRO and get access to additional PRO features →
Join the 4+ million users, and keep the JSFiddle dream alive.
Ad-free
All ads in the editor and listing pages are turned completely off.
Use pre-released features
You get to try and use features (like the Palette Color Generator) months before everyone else.
Fiddle collections
Sort and categorize your Fiddles into multiple collections.
Private collections and fiddles
You can make as many Private Fiddles, and Private Collections as you wish!
Console
Debug your Fiddle with a minimal built-in JavaScript console.