first commit

This commit is contained in:
dev-chiefworks
2022-05-31 16:21:53 -04:00
commit f76abffdcd
5978 changed files with 1078901 additions and 0 deletions
@@ -0,0 +1,33 @@
/* ------------------------------------------------------------------------------
*
* # Adding controls
*
* Specific JS code additions for maps_google_controls.html page
*
* Version: 1.0
* Latest update: Aug 1, 2015
*
* ---------------------------------------------------------------------------- */
$(function() {
// Initialize
function initialize() {
// Options
var mapOptions = {
zoom: 11,
center: new google.maps.LatLng(48.136, 11.574),
panControl: false,
zoomControl: false,
scaleControl: true
}
// Apply options
var map = new google.maps.Map($('.map-adding-controls')[0], mapOptions);
}
// Load map
google.maps.event.addDomListener(window, 'load', initialize);
});
@@ -0,0 +1,38 @@
/* ------------------------------------------------------------------------------
*
* # Control options
*
* Specific JS code additions for maps_google_controls.html page
*
* Version: 1.0
* Latest update: Aug 1, 2015
*
* ---------------------------------------------------------------------------- */
$(function() {
// Initialize
function initialize() {
// Options
var mapOptions = {
zoom: 6,
center: new google.maps.LatLng(51.164, 10.454),
mapTypeControl: true,
mapTypeControlOptions: {
style: google.maps.MapTypeControlStyle.DROPDOWN_MENU
},
zoomControl: true,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.SMALL
}
}
// Apply options
var map = new google.maps.Map($('.map-control-options')[0], mapOptions);
}
// Load map
google.maps.event.addDomListener(window, 'load', initialize);
});
@@ -0,0 +1,49 @@
/* ------------------------------------------------------------------------------
*
* # Control positioning
*
* Specific JS code additions for maps_google_controls.html page
*
* Version: 1.0
* Latest update: Aug 1, 2015
*
* ---------------------------------------------------------------------------- */
$(function() {
// Initialize
function initialize() {
// Optinos
var mapOptions = {
zoom: 12,
center: new google.maps.LatLng(-28.643387, 153.612224),
mapTypeControl: true,
mapTypeControlOptions: {
style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR,
position: google.maps.ControlPosition.BOTTOM_CENTER
},
panControl: true,
panControlOptions: {
position: google.maps.ControlPosition.TOP_RIGHT
},
zoomControl: true,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.LARGE,
position: google.maps.ControlPosition.LEFT_CENTER
},
scaleControl: true,
streetViewControl: true,
streetViewControlOptions: {
position: google.maps.ControlPosition.LEFT_TOP
}
}
// Apply options
var map = new google.maps.Map($('.map-control-positioning')[0], mapOptions);
}
// Load map
google.maps.event.addDomListener(window, 'load', initialize);
});
@@ -0,0 +1,31 @@
/* ------------------------------------------------------------------------------
*
* # Disable default UI
*
* Specific JS code additions for maps_google_controls.html page
*
* Version: 1.0
* Latest update: Aug 1, 2015
*
* ---------------------------------------------------------------------------- */
$(function() {
// Initialize
function initialize() {
// Options
var mapOptions = {
zoom: 12,
center: new google.maps.LatLng(48.858, 2.347),
disableDefaultUI: true
}
// Apply options
var map = new google.maps.Map($('.map-ui-disabled')[0], mapOptions);
}
// Load map
google.maps.event.addDomListener(window, 'load', initialize);
});