14 Green Pond Rd., Rockaway, NJ 07866 United States (USA)
View Map Reservations: 1-800-219-2797 Group Sales: 1-800-906-2871
2.5 Star Property
AI Disclaimer
This tool is powered by OpenAI's ChatGPT service. We strive to provide 100% accurate and reliable data to our customers, but third-party content generated by AI, including OpenAI's ChatGPT, can sometimes make errors for various reasons, such as incomplete or inaccurate responses. We advise all customers to exercise caution and to use your best judgment regarding the fidelity of ChatGPT's responses.
Previous Next
- Has indoor swimming pool
- Comp. Breakfast
- Fitness + Health Center
- 106 rooms in property
- 3 floors in property
- 25 suites in property
- Check-in: 3:00pm
- Group score of 10.0/10
Standard prices by room type for the next 60 days
Rates shown are nightly rates before taxes and do not necessarily reflect all discounts available. The chart provides the cheapest public rates available by room type.
See All Discounts
Room Types
Check Rates1 King Bed
Non-Smoking
Check Rates1 King Bed Guestroom Partial View
Non-Smoking
Check Rates1 King Bed Suite with Sofa Bed
Smoking
Check Rates1 King Bed with Sofa Bed Suite
Non-Smoking
Check Rates1 King Refrigerator, Microwave 276sqft 25sqm Wireless Internet Complimentary
Non-Smoking
Check Rates1 King Sofa Bed Refrigerator, Microwave 376sqft 34sqm Living Sitting Area Wireless
Non-Smoking
Check Rates2 Queen Beds
Non-Smoking
Check Rates2 Queen Refrigerator, Microwave 326sqft 29sqm Wireless Internet
Non-Smoking
Check Rates2 Queen Sofa Bed Refrigerator, Microwave 476sqft 43sqm Living Sitting Area Wireless
Non-Smoking
Check RatesKing Room with Adapted Tub Mobility and Hearing Accessible
Non-Smoking
Check RatesKing Suite with Sofa Bed
Non-Smoking
Check RatesQueen Room with 2 Queen Beds and Adapted Tub Mobility and Hearing Accessible
Non-Smoking
Check RatesSuite 1 King Bed with Sofa Bed 1 King Bed and 1 Double Sofa Bed
Smoking
Local Attractions
35 Minutes from New York, Hopacocong State Park, Green Pond Golf Course, Rockaway Townsquare Mall (Simon Mall), Waterloo Village, Mountain Creek Water Park, Craigmeur Recreation Complex, Sport 'N' Games Funplex.
Landmarks and Location of Fairfield Inn & Suites by Marriott Rockaway
Map is loading...
See Street View
Fairfield Inn & Suites by Marriott Rockaway
What's Nearby?
- Parsippany Main Library
- Fosterfields Living Historical Farm
- Frelinghuysen Arboretum
- First Baptist Church
- Schuyler Hamilton House
- Washington's Headquarters Museum
- Community Theater
- Acorn Hall
- Macculloch Hall
- Catholic Church of the Assumption
- Morristown City Hall
- Morris Museum
- East Hanover, NJ
- Morristown Municipal Airport (MMU)
- Wick House
- Drew University
- Old Lafayette Village
- Sterling Hill Mining Museum
- The Mall at Short Hills
- Kittatinny Valley State Park
- Ice Vault Arena
- Franklin Mineral Museum
- Turtle Back Zoo
- William Paterson University
- The Wellmont Theater
- Seton Hall University
- East Orange
- New Jersey Institute of Tech
- Wawayanda State Park
- Legends Riding Stable
- Columbus Hospital
- Downtown Sports
- Mountain Creek Ski Area and Water Park
- David Glenz Golf Academy
- Campgaw Mountain and Ski Area
- Newark Museum
- Skylands Manor
- UMD NJ University Hospital
- Cathedral of the Sacred Heart
- Bridgewater Manor
Miles
- 4.8
- 7.5
- 7.7
- 7.8
- 8.1
- 8.1
- 8.2
- 8.2
- 8.3
- 8.3
- 8.4
- 8.5
- 8.8
- 8.9
- 10.4
- 11.1
- 12.3
- 13.0
- 13.8
- 13.9
- 14.7
- 14.7
- 15.1
- 15.9
- 16.3
- 17.5
- 18.1
- 18.4
- 18.7
- 18.9
- 19.0
- 19.2
- 19.4
- 19.4
- 19.5
- 19.5
- 19.8
- 20.0
- 20.0
- 20.0
Verified Reviews of Fairfield Inn & Suites by Marriott Rockaway
Below are the verified reviews from guests that we have booked recently:
"Didn’t Stay"
Overall Score4.0/ 5
We canceled our reservation.
David W. (Individual traveler, booked 1 room), from
23-Jul-2024 Verified Review, stayed from Sat Jul 20 to Sun Jul 21 2024 at a $199.00 average nightly rate.
"Clean, spacious hotel that's easy to get to."
Overall Score4.0/ 5
I would stay again. Clean, spacious hotel that's easy to get to.
David H. (Individual traveler, booked 1 room), from
05-Nov-2023 Verified Review, stayed from Sat Nov 04 to Sun Nov 05 2023 at a $153.99 average nightly rate.
4.0 out of 5. Based on 6 guest reviews
Recent Reviews
Show Recent Guest Reviews
Property Description
Discover a seamless experience at The Fairfield Inn & Suites Rockaway, a hotel with outstanding service for an easy and comfortable stay at an exceptional value. We are always ready to welcome you to our thoughtfully designed guest rooms and suites with plenty of room to work and relax. Free WiFi throughout the hotel will keep you connected during your stay and our pool and fitness center will help you stay top of your fitness goals. Spread out in our vibrant lobby with spaces to gather, relax and work. Jump start your mornings in Rockaway with our complimentary breakfast, now with more hot favorites like oatmeal, sausage and scrambled eggs, fresh fruit and yogurt. Business groups staying at our hotel will enjoy our suites which are designed with the extended stay traveler in mind and our close proximity to various corporate and government offices. Ask about our discounted room rates when booking room blocks. Whatever brings you to Rockaway, enjoy your stay at The Fairfield Inn & Suites Rockaway.
Details / Other Expenses
Check In: | 3:00pm |
Check Out: | 12:00pm |
Year of Last Renovation: | 2021 |
Floors: | 3 |
Rooms: | 106 |
Corridors: | All Rooms Have Interior Hallways |
Non Smoking Rooms: | 54 |
Handicap Rooms: | |
Suites: | 25 |
Room Windows: | Windows Don't Open |
Cleaning Frequency: | Once Per Stay |
Meeting Rooms: | 1 |
Meeting Space: | 989 sq. feet |
Banquet Space: | Holds 75 people |
FEMA Approved: | Yes |
Pool Info: | Indoor pool |
Ownership: | Anna Hospitality |
Policies / Expenses
Cancellation: 24 Hours before the date of arrival. | |
Nightly Parking: | 0.00 |
Typical Group Deposit: | 25% |
Total Taxes: | 15.00% |
Total Misc Fees: | $0.00 USD (mandatory resort fees/taxes) |
Amenities / Features
- Air conditioning
- Alarm clock
- ATM
- Baby facilities in room
- Baggage storage facilities
- Bus parking
- Central location
- Clothes drying
- Complimentary breakfast
- Concierge service
- Credit card accepted: Mastercard/Visa
- Credit card accepted: American Express
- Credit card accepted: Discover
- Electronic key card
- Elevator
- Express Check-Out
- Facilities for the disabled
- Fax available
- Fitness and health center
- Free local calls
- Hairdryer available
- Handicap accessible
- Internet - wireless
- Internet - ethernet
- Free WiFi Internet
- Ironing facilities
- Laundry facilities
- Laundry valet service
- Microwave in room
- Non-smoking rooms
- 24 hours opened
- Office or business center
- Private bathroom in room
- Radio in room
- Refrigerator
- Shower
- Swimming pool - indoor
- Tea and coffee making facilities
- Telephone
- Telephone in all rooms
- Telephone - Free local calls
- Television
- TV - Free Cable
- TV Channel: HBO
- TV Channel: Showtime
- TV Channel: Weather Channel
- TV Channel: ESPN
- TV Channel: Disney Channel
- TV Channel: Discovery Channel
- TV Channel: Nickelodeon
- TV room
- Voicemail
Airport & Shuttle Information
Newark International Airport 30 milesLaGuardia Airport 45 milesJ.F.K. Airport 55 miles
Airport Shuttle? Sorry, no airport shuttle available.
Breakfast Information
Complimentary hot/cold breakfast buffet.
Pet Friendly?
Service animals complying with ADA Title lll regulations are allowed.
Sorry, pets are not allowed.
Parking Info
Complimentary parking
Internet / WiFI
Complimentary Wi-Fi throughout the building including the guest rooms.
About Fairfield Inn by Marriott
- Great value hotel with plenty of amenities
- Freebies include high-speed internet, Wi-Fi, parking, newspaper, coffee & tea, and a hot breakfast with eggs and sausage
- Business center with printing services
- Large suites with separate living, working, and sleeping areas
- Digital alarm clock with MP3
- Same-day dry cleaning service and laundry room
The Fairfield Inn by Marriott highlights above are subject to change without notice.
Suggested AI Generated Itinerary
- Breakfast: Rockaway Bagel & Deli - Start your day with a fresh bagel and coffee at this local deli, just 1 mile away from the hotel.
- Lunch: La Strada Ristorante - Indulge in authentic Italian cuisine for lunch at this restaurant located 3 miles from the hotel.
- Dinner: The Exchange Restaurant - Enjoy a delicious meal at this upscale American restaurant located 2 miles from the hotel.
- Activity: Rockaway Townsquare Mall - Spend the afternoon shopping at this popular mall, located just 1 mile away from the hotel.
- Breakfast: IHOP - Start your day with a classic American breakfast at this nearby IHOP, just 2 miles away from the hotel.
- Lunch: Taphouse 15 - Grab a delicious burger and craft beer for lunch at this gastropub located 3 miles from the hotel.
- Dinner: The Black Horse Tavern & Pub - Enjoy a cozy dinner at this historic tavern located 4 miles from the hotel.
- Activity: Rockaway River Country Club - Play a round of golf at this scenic golf course, located just 5 miles away from the hotel.
- Breakfast: Starbucks - Start your day with a cup of coffee and a pastry at this nearby Starbucks, just 1 mile away from the hotel.
- Lunch: Sushi Lounge - Savor fresh sushi and Japanese cuisine for lunch at this restaurant located 2 miles from the hotel.
- Dinner: The Quiet Man - Enjoy traditional Irish fare for dinner at this cozy pub located 3 miles from the hotel.
- Activity: Rockaway Beach - Spend the afternoon relaxing at this nearby beach, located just 4 miles away from the hotel.
Day 1
Day 2
Day 3
Previously known as:
Best Western Rockaway Hotel, Rockaway Hotel, Fairfield Inn & Suites
Seasonality of Hotel Rates at Fairfield Inn & Suites by Marriott Rockaway
This chart illustrates seasonality of sleeping room prices for both our group rates and the best online individual traveler rates we could find at the time the group/meeting bid was placed. The best group rate shown is 19.8% in June 2022 and the highest average individual rate is $214 in the month of August 2025. This chart will show past seasonality and also project future months. If you are flexible with dates, you may want to consider staying at Fairfield Inn & Suites by Marriott Rockaway in a month when rates are lower.
Similar hotels close by
More Details >
Hampton Inn ~0.28 Miles away
More Details >
Hilton Garden Inn Rockaway ~2.43 Miles away
More Details >
Homewood Suites by Hilton Dover Rockaway ~3.01 Miles away
More Details >
Homewood Suites Dover Rockaway ~3.75 Miles away
°F °C
Highs
Lows
Dry Days
Rain Days
Thunder Days
Snow Days
Humidity
Wind Speed
FAQs about Fairfield Inn & Suites by Marriott Rockaway
What time is check in?
Check in time is 3:00pm based on the hotel's local time. Early check in may be available if requested at the front desk on the day of check-in.
What time is check out?
Check out time is 12:00pm based on the hotel's local time. Late check out may be available if requested at the front desk during your stay.
How many rooms does Fairfield Inn & Suites by Marriott Rockaway have?
There are 106 rooms in the property.
Is there any meeting space at Fairfield Inn & Suites by Marriott Rockaway?
Yes, they have 1 meeting room that can support various table layouts.
What kind of breakfast is at Fairfield Inn & Suites by Marriott Rockaway?
Complimentary hot/cold breakfast buffet.
What parking is available at Fairfield Inn & Suites by Marriott Rockaway?
Complimentary parking
How much does internet cost?
Complimentary Wi-Fi throughout the building including the guest rooms.
Can I get a AAA rate at Fairfield Inn & Suites by Marriott Rockaway?
Sorry, this hotel does not offer AAA hotel discounts at this time.
Can I get a Senior or AARP rate at Fairfield Inn & Suites by Marriott Rockaway?
Sorry, this hotel does not offer senior hotel discounts at this time.
Is there a gym at Fairfield Inn & Suites by Marriott Rockaway?
Yes, there is a gym/fitness area available on-site at the property.
Is there a pool at Fairfield Inn & Suites by Marriott Rockaway?
Yes, there is a pool on-site at the property. Indoor pool.
Testimonials:
"This was my first experience with your service, and it was great! I won't book another meeting without your site!" B.F. - Columbus, OH
Learn More Check Rates
Quick Jump to Quick Jump to
Photos Check Prices Room Types Reviews Description Amenities Shuttle Info Breakfast Pet Friendly? Parking Info Internet / WiFI About this Brand Itinerary Rate Seasonality Similar Hotels Weather Frequent Questions
Back to Top
' ).addTo(mymap); var m = L.marker([40.802925,-74.504158],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ ''+ 'Fosterfields Living Historical Farm
'+ '7.5 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.805702,-74.453293],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ 'Frelinghuysen Arboretum
'+ '7.7 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.79829,-74.483742],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ ''+ 'First Baptist Church
'+ '7.8 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.796265,-74.472832],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ 'Schuyler Hamilton House
'+ '8.1 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.797276,-74.466103],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ ''+ 'Washingtons Headquarters Museum
'+ '8.1 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.79398,-74.478256],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ ''+ 'Community Theater
'+ '8.2 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.79649,-74.460289],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ 'Acorn Hall
'+ '8.2 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.792297,-74.4814],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ 'Macculloch Hall
'+ '8.3 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.791435,-74.477386],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ ''+ 'Catholic Church of the Assumption
'+ '8.3 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.790878,-74.47451],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ ''+ 'Morristown City Hall
'+ '8.4 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.795235,-74.447891],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ ''+ 'Morris Museum
'+ '8.5 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.8128,-74.392401],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ 'East Hanover, NJ
'+ '8.8 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.799,-74.415],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ ''+ 'Morristown Municipal Airport (MMU)
'+ '8.9 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.764275,-74.543358],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ 'Wick House
'+ '10.4 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.762054,-74.420425],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ ''+ 'Drew University
'+ '11.1 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([41.055944,-74.640033],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ ''+ 'Old Lafayette Village
'+ '12.3 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([41.0835124,-74.6035119],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ ''+ 'Sterling Hill Mining Museum
'+ '13.0 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.740219,-74.363506],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ ''+ 'The Mall at Short Hills
'+ '13.8 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([41.0095716,-74.7340359],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ ''+ 'Kittatinny Valley State Park
'+ '13.9 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.9644795,-74.2280088],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ 'Ice Vault Arena
'+ '14.7 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([41.1141569,-74.5888319],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ ''+ 'Franklin Mineral Museum
'+ '14.7 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.76989,-74.28096],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ ''+ 'Turtle Back Zoo
'+ '15.1 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.9440293,-74.1995851],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ 'William Paterson University
'+ '15.9 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.8126436,-74.2166274],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ 'The Wellmont Theater
'+ '16.3 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.74456,-74.24793],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ ''+ 'Seton Hall University
'+ '17.5 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.769055992,-74.2098999023],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ ''+ 'East Orange
'+ '18.1 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.832047,-74.16399],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ 'New Jersey Institute of Tech
'+ '18.4 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([41.165217,-74.377403],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ ''+ 'Wawayanda State Park
'+ '18.7 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([41.1840207,-74.5223359],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ 'Legends Riding Stable
'+ '18.9 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.77292,-74.18698],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ ''+ 'Columbus Hospital
'+ '19.0 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([41.0248434,-74.1654612],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ 'Downtown Sports
'+ '19.2 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([41.191648,-74.5091499],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ ''+ 'Mountain Creek Ski Area and Water Park
'+ '19.4 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([41.1917552,-74.5049222],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ ''+ 'David Glenz Golf Academy
'+ '19.4 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([41.059191,-74.1831558],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ 'Campgaw Mountain and Ski Area
'+ '19.5 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.776196,-74.17248],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ ''+ 'Newark Museum
'+ '19.5 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([41.1311138,-74.256639],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ 'Skylands Manor
'+ '19.8 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.74029,-74.19246],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ ''+ 'UMD NJ University Hospital
'+ '20.0 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.755375,-74.17865],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ ''+ 'Cathedral of the Sacred Heart
'+ '20.0 miles'+ '
'+ '' ).addTo(mymap); var m = L.marker([40.6400273,-74.636778],{icon:intPnt,zIndexOffset:-1000}); markers.push(m); m.bindPopup( '
'+ 'Bridgewater Manor
'+ '20.0 miles'+ '
'+ '' ).addTo(mymap); }else{ CenterPoint = new google.maps.LatLng(40.911, -74.501); var mapOptions = { zoom: 13, center: CenterPoint, mapTypeId: google.maps.MapTypeId.ROADMAP, styles: [{featureType: 'poi.business',elementType: 'labels',stylers: [{visibility: 'off'}]}] }; map = new google.maps.Map(document.getElementById("map"),mapOptions); var image = new google.maps.MarkerImage( '//cdn.hotelplanner.com/Common/Images/MapIcons/m05.png', new google.maps.Size(20, 34), new google.maps.Point(0,0), new google.maps.Point(0,34)); var shadow = new google.maps.MarkerImage( '//cdn.hotelplanner.com/Common/Images/MapIcons/shadow50.png', new google.maps.Size(37, 34), new google.maps.Point(0,0), new google.maps.Point(0, 34)); var mHotel = new google.maps.Marker({position: CenterPoint,map: map,icon: image,shadow: shadow}); var contentString = '
\r\n \r\n \r\n Fairfield Inn & Suites by Marriott Rockaway\r\n 12 Green Pond Road \r\n\r\n\r\n Rockaway NJ 07866 |
'; var infowindow = new google.maps.InfoWindow({content: contentString,maxWidth:300}); google.maps.event.addListener(mHotel, 'click', function() { infowindow.open(map,mHotel); }); infowindow.open(map,mHotel); mrs = new Array(40); ps = new Array( new google.maps.LatLng(40.85228,-74.452377) , new google.maps.LatLng(40.802925,-74.504158) , new google.maps.LatLng(40.805702,-74.453293) , new google.maps.LatLng(40.79829,-74.483742) , new google.maps.LatLng(40.796265,-74.472832) , new google.maps.LatLng(40.797276,-74.466103) , new google.maps.LatLng(40.79398,-74.478256) , new google.maps.LatLng(40.79649,-74.460289) , new google.maps.LatLng(40.792297,-74.4814) , new google.maps.LatLng(40.791435,-74.477386) , new google.maps.LatLng(40.790878,-74.47451) , new google.maps.LatLng(40.795235,-74.447891) , new google.maps.LatLng(40.8128,-74.392401) , new google.maps.LatLng(40.799,-74.415) , new google.maps.LatLng(40.764275,-74.543358) , new google.maps.LatLng(40.762054,-74.420425) , new google.maps.LatLng(41.055944,-74.640033) , new google.maps.LatLng(41.0835124,-74.6035119) , new google.maps.LatLng(40.740219,-74.363506) , new google.maps.LatLng(41.0095716,-74.7340359) , new google.maps.LatLng(40.9644795,-74.2280088) , new google.maps.LatLng(41.1141569,-74.5888319) , new google.maps.LatLng(40.76989,-74.28096) , new google.maps.LatLng(40.9440293,-74.1995851) , new google.maps.LatLng(40.8126436,-74.2166274) , new google.maps.LatLng(40.74456,-74.24793) , new google.maps.LatLng(40.769055992,-74.2098999023) , new google.maps.LatLng(40.832047,-74.16399) , new google.maps.LatLng(41.165217,-74.377403) , new google.maps.LatLng(41.1840207,-74.5223359) , new google.maps.LatLng(40.77292,-74.18698) , new google.maps.LatLng(41.0248434,-74.1654612) , new google.maps.LatLng(41.191648,-74.5091499) , new google.maps.LatLng(41.1917552,-74.5049222) , new google.maps.LatLng(41.059191,-74.1831558) , new google.maps.LatLng(40.776196,-74.17248) , new google.maps.LatLng(41.1311138,-74.256639) , new google.maps.LatLng(40.74029,-74.19246) , new google.maps.LatLng(40.755375,-74.17865) , new google.maps.LatLng(40.6400273,-74.636778) ); ls = new Array( '
Parsippany Main Library
4.8 miles
' , '
Fosterfields Living Historical Farm
7.5 miles
' , '
Frelinghuysen Arboretum
7.7 miles
' , '
First Baptist Church
7.8 miles
' , '
Schuyler Hamilton House
8.1 miles
' , '
Washingtons Headquarters Museum
8.1 miles
' , '
Community Theater
8.2 miles
' , '
Acorn Hall
8.2 miles
' , '
Macculloch Hall
8.3 miles
' , '
Catholic Church of the Assumption
8.3 miles
' , '
Morristown City Hall
8.4 miles
' , '
Morris Museum
8.5 miles
' , '
East Hanover, NJ
8.8 miles
' , '
Morristown Municipal Airport (MMU)
8.9 miles
' , '
Wick House
10.4 miles
' , '
Drew University
11.1 miles
' , '
Old Lafayette Village
12.3 miles
' , '
Sterling Hill Mining Museum
13.0 miles
' , '
The Mall at Short Hills
13.8 miles
' , '
Kittatinny Valley State Park
13.9 miles
' , '
Ice Vault Arena
14.7 miles
' , '
Franklin Mineral Museum
14.7 miles
' , '
Turtle Back Zoo
15.1 miles
' , '
William Paterson University
15.9 miles
' , '
The Wellmont Theater
16.3 miles
' , '
Seton Hall University
17.5 miles
' , '
East Orange
18.1 miles
' , '
New Jersey Institute of Tech
18.4 miles
' , '
Wawayanda State Park
18.7 miles
' , '
Legends Riding Stable
18.9 miles
' , '
Columbus Hospital
19.0 miles
' , '
Downtown Sports
19.2 miles
' , '
Mountain Creek Ski Area and Water Park
19.4 miles
' , '
David Glenz Golf Academy
19.4 miles
' , '
Campgaw Mountain and Ski Area
19.5 miles
' , '
Newark Museum
19.5 miles
' , '
Skylands Manor
19.8 miles
' , '
UMD NJ University Hospital
20.0 miles
' , '
Cathedral of the Sacred Heart
20.0 miles
' , '
Bridgewater Manor
20.0 miles
' ); for (var i = 0; i <40; i++) { mrs[i] = createMarker(ps[i], i, ls[i]); } } isInitialized = true; } if (!Math.trunc) { Math.trunc = function (v) { return v < 0 ? Math.ceil(v) : Math.floor(v); }; } function resizeTempMap(){ var tempMapHTML = ''+ '
'+ '
'+ ''; $("#map").html(tempMapHTML); var mapHeight = Math.trunc($("#map").height()*.1)*10; var mapWidth = Math.trunc($("#map").width()*.1)*10; if( $("#map").attr("data-mapheight") !== undefined ){ mapHeight = $("#map").attr("data-mapheight"); } if( $("#map").attr("data-mapwidth") !== undefined ){ mapWidth = $("#map").attr("data-mapwidth"); } $("#map").attr("style","width:"+mapWidth+"px"); var bubbleLeft = (mapWidth - $("#staticMapBubble").width() -24 )/2; var bubbleWidth = "auto"; var bubbleTop = ((mapHeight/2) - $("#staticMapBubble").height() - 60); $("#staticMapBubble").css( { top:bubbleTop, left:bubbleLeft, width:bubbleWidth, zIndex: 999, position:'absolute',margin: '0 9px' }); $("#staticMapBubble").show(); var s3Src = "https://s3.amazonaws.com/maps.hotelplanner.com/"+mapWidth+"x"+mapHeight+"/-74.501,40.911,13.png"; var tilerSrc = "https://api.maptiler.com/maps/basic/static/-74.501,40.911,13/"+mapWidth+"x"+mapHeight+".png?markers=icon:https%3A%2F%2Fs3.amazonaws.com%2Fimg.hotelplanner.com%2Fcommon%2Fimages%2Fmapicons%2Fm05.png|-74.501,40.911&key=LrAaE6hqr7wsF1A3Bakd"; try{ var s3XHR = new XMLHttpRequest(); s3XHR.onreadystatechange = function(){ if(this.readyState == 4 && this.status == 200){ var img = document.getElementById('cityMap'); var url = window.URL || window.webkitURL; img.src = url.createObjectURL(this.response); } else if(this.readyState == 4 && this.status == 403) { var imgBlob = {}; var xhr = new XMLHttpRequest(); xhr.onreadystatechange = function(){ if (this.readyState == 4 && this.status == 200){ var img = document.getElementById('cityMap'); var url = window.URL || window.webkitURL; img.src = url.createObjectURL(this.response); imgBlob = this.response; fetch('/com/hotelplanner/controller/HotelController.cfc?method=cacheHotelMap&lat=40.911&lng=-74.501&zoom=13&dimension='+mapWidth+'x'+mapHeight, {method:"POST", body:imgBlob}); } else if ( this.readyState == 4 && (this.status == 403 || this.status == 400) ){ initialize(); } }; xhr.open('GET', tilerSrc); xhr.responseType = 'blob'; xhr.send(); } }; s3XHR.open('GET', s3Src); s3XHR.responseType = 'blob'; s3XHR.send(); }catch(err){ initialize(); } }$(document).ready(function() { if(mapTilerActive){$(".initMapClick").on("click",function(){initWrapper();});} $(".initMapMouseOver").on("mouseover",function(){initWrapper();}); function initWrapper(){ if(!isInitialized){ $("#staticMapBubble").hide(); initialize(); } } function resizeend() { if (new Date() - rtime < delta) { setTimeout(resizeend, delta); } else { timeout = false; resizeTempMap(); } } var rtime; var timeout = false; var delta = 200; $(window).on("resize",function(){ if(!isInitialized){ rtime = new Date(); if (timeout === false) { timeout = true; setTimeout(resizeend, delta); } } }); if(!isInitialized){ resizeTempMap(); }});