PageSourceSearch

https://www.ccc-paris.org/wp-content/themes/themecccp/communs/js/map.js

js ccc-paris.org collected 2026-10-02 11:19:00 UTC 2,439 bytes, 36 lines download raw bytes

1    // When the window has finished loading create our google map below
2            google.maps.event.addDomListener(window, 'load', init);
3
4            function init() {
5                // Basic options for a simple Google Map
6                // For more options see: https://developers.google.com/maps/documentation/javascript/reference#MapOptions
7                var mapOptions = {
8                    // How zoomed in you want the map to start at (always required)
9                    zoom: 16,
10
11                    // The latitude and longitude to center the map (always required)
12                    center: new google.maps.LatLng(48.862164, 2.310567), //
13
14                    // How you would like to style the map.
15                    // This is where you would paste any style found on Snazzy Maps.
16                    styles: [{"featureType":"landscape","stylers":[{"hue":"#FFBB00"},{"saturation":43.400000000000006},{"lightness":37.599999999999994},{"gamma":1}]},{"featureType":"road.highway","stylers":[{"hue":"#FFC200"},{"saturation":-61.8},{"lightness":45.599999999999994},{"gamma":1}]},{"featureType":"road.arterial","stylers":[{"hue":"#FF0300"},{"saturation":-100},{"lightness":51.19999999999999},{"gamma":1}]},{"featureType":"road.local","stylers":[{"hue":"#FF0300"},{"saturation":-100},{"lightness":52},{"gamma":1}]},{"featureType":"water","stylers":[{"hue":"#0078FF"},{"saturation":-13.200000000000003},{"lightness":2.4000000000000057},{"gamma":1}]},{"featureType":"poi","stylers":[{"hue":"#00FF6A"},{"saturation":-1.0989010989011234},{"lightness":11.200000000000017},{"gamma":1}]}]
17                };
18
19                // Get the HTML DOM element that will contain your map
20                // We are using a div with id="map" seen below in the <body>
21                var mapElement = document.getElementById('map');
22
23                // Create the Google Map using our element and options defined above
24                var map = new google.maps.Map(mapElement, mapOptions);
25
26                // Let's also add a marker while we're at it
27                var marker = new google.maps.Marker({
28                    position: new google.maps.LatLng(48.861885, 2.310544),
29                    map: map,
30                    visible: true,
31                    icon: ("https://www.ccc-paris.org/wp-content/themes/themecccp/images/charte/ccc-batiment.png"),
32                    title: 'ccc-paris'
33                });
34            }
35
36

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.