A PHP Error was encountered
Severity: Notice
Message: Undefined index: cityMasterId
Filename: views/custom-result-map.php
Line Number: 38
Backtrace:
File: C:\HostingSpaces\admin\amazingnature.in\wwwroot\guidemegood\application\views\custom-result-map.php
Line: 38
Function: _error_handler
File: C:\HostingSpaces\admin\amazingnature.in\wwwroot\guidemegood\application\controllers\main.php
Line: 782
Function: view
File: C:\HostingSpaces\admin\amazingnature.in\wwwroot\guidemegood\index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: imagejpeg(pic/cities//rImage/1655548_37_b_260w_140h.jpg): failed to open stream: No such file or directory
Filename: helpers/gmg_helper.php
Line Number: 2050
Backtrace:
File: C:\HostingSpaces\admin\amazingnature.in\wwwroot\guidemegood\application\helpers\gmg_helper.php
Line: 2050
Function: imagejpeg
File: C:\HostingSpaces\admin\amazingnature.in\wwwroot\guidemegood\application\helpers\gmg_helper.php
Line: 1951
Function: newimageUploadResize
File: C:\HostingSpaces\admin\amazingnature.in\wwwroot\guidemegood\application\helpers\gmg_helper.php
Line: 1184
Function: upimg
File: C:\HostingSpaces\admin\amazingnature.in\wwwroot\guidemegood\application\views\custom-result-map.php
Line: 38
Function: cityImageLink
File: C:\HostingSpaces\admin\amazingnature.in\wwwroot\guidemegood\application\controllers\main.php
Line: 782
Function: view
File: C:\HostingSpaces\admin\amazingnature.in\wwwroot\guidemegood\index.php
Line: 315
Function: require_once
{
id: '1',
location_latitude: 11.20377,
location_longitude: 75.86552,
image_url: 'http://www.guidemegood.com/pic/cities//rImage/1655548_37_b_260w_140h.jpg',name_point: 'Azhinjilam',
location_point: 'Azhinjilam, India',
tripadvisor_rating_point: '',
review_count_point: '0',
url_point: '#',
tripadvisor_url_point: '#',
currencySymbol: 'Rs',
price: '2000',
distance: '100',
unit: 'km',
} ]
};
var mapOptions = {
zoom: 10,
center: new google.maps.LatLng(11.200503,75.868551),
mapTypeId: google.maps.MapTypeId.ROADMAP,
mapTypeControl: false,
mapTypeControlOptions: {
style: google.maps.MapTypeControlStyle.DROPDOWN_MENU,
position: google.maps.ControlPosition.LEFT_CENTER
},
panControl: false,
panControlOptions: {
position: google.maps.ControlPosition.TOP_RIGHT
},
zoomControl: true,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.LARGE,
position: google.maps.ControlPosition.TOP_RIGHT
},
scrollwheel: false,
scaleControl: false,
scaleControlOptions: {
position: google.maps.ControlPosition.TOP_LEFT
},
streetViewControl: true,
streetViewControlOptions: {
position: google.maps.ControlPosition.LEFT_TOP
},
styles: [
{
"featureType": "administrative",
"elementType": "all",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "poi",
"elementType": "all",
"stylers": [
{
"visibility": "simplified"
}
]
},
{
"featureType": "road",
"elementType": "labels",
"stylers": [
{
"visibility": "simplified"
}
]
},
{
"featureType": "water",
"elementType": "all",
"stylers": [
{
"visibility": "simplified"
}
]
},
{
"featureType": "transit",
"elementType": "all",
"stylers": [
{
"visibility": "simplified"
}
]
},
{
"featureType": "landscape",
"elementType": "all",
"stylers": [
{
"visibility": "simplified"
}
]
},
{
"featureType": "road.highway",
"elementType": "all",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "road.local",
"elementType": "all",
"stylers": [
{
"visibility": "on"
}
]
},
{
"featureType": "road.highway",
"elementType": "geometry",
"stylers": [
{
"visibility": "on"
}
]
},
{
"featureType": "water",
"elementType": "all",
"stylers": [
{
"color": "#84afa3"
},
{
"lightness": 52
}
]
},
{
"featureType": "all",
"elementType": "all",
"stylers": [
{
"saturation": -17
},
{
"gamma": 0.36
}
]
},
{
"featureType": "transit.line",
"elementType": "geometry",
"stylers": [
{
"color": "#3f518c"
}
]
}
]
};
var marker;
mapObject = new google.maps.Map(document.getElementById('bali-map'), mapOptions);
for (var key in markersData)
markersData[key].forEach(function (item) {
marker = new google.maps.Marker({
position: new google.maps.LatLng(item.location_latitude, item.location_longitude),
map: mapObject,
icon: '/images/map-marker/' + key + '.png',
});
if ('undefined' === typeof markers[key])
markers[key] = [];
markers[key].push(marker);
google.maps.event.addListener(marker, 'click', (function () {
closeInfoBox();
getInfoBox(item).open(mapObject, this);
mapObject.setCenter(new google.maps.LatLng(item.location_latitude, item.location_longitude));
}));
});
function hideAllMarkers () {
for (var key in markers)
markers[key].forEach(function (marker) {
marker.setMap(null);
});
};
function closeInfoBox() {
$('div.infoBox').remove();
};
function getInfoBox(item) {
return new InfoBox({
content:
'