Playing with a map
How do I make an playing with a map?
What is a playing with a map? How do you make a playing with a map? This script and codes were developed by José Manuel Pérez on 12 January 2023, Thursday.
Playing with a map - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Playing with a map</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="map"></div>
<div class="place-name">Elche</div> <script src='https://maps.googleapis.com/maps/api/js'></script>
<script src='https://jmperezperez.com/screenflow/lib/embed.js'></script> <script src="js/index.js"></script>
</body>
</html>
Playing with a map - Script Codes CSS Codes
* { margin: 0; padding: 0;
}
body { font-family: Helvetica, Arial;
}
#map { height: 500px;
}
.place-name { position: absolute; top: 20px; font-size: 24pt; text-shadow: 0 1px 5px #000; color: #fff; background-color: rgba(0,0,0,0.5); padding: 10px; padding-left: 20px; left: -1px;
}
Playing with a map - Script Codes JS Codes
var lat = 38.266944, lng = -0.698333;
var center = new google.maps.LatLng(lat, lng); var mapOptions = { center: center, zoom: 10, disableDefaultUI: true, mapTypeId: google.maps.MapTypeId.ROADMAP, styles: [ { "stylers": [ { "gamma": 0.68 }, { "invert_lightness": true }, { "lightness": -20 }, { "saturation": -100 }, ] }, { featureType: "road.highway", elementType: "geometry", stylers: [ { visibility: "off" } ] }, { featureType: "road", elementType: "labels", stylers: [ { visibility: "off" } ] }, { "featureType": "poi", "elementType": "labels", "stylers": [ { "visibility": "off" } ] }, { "featureType": "poi", "stylers": [ { "lightness": -50 } ] }, { "featureType": "landscape", "stylers": [ { "lightness": -50 } ] }, { "featureType": "transit", "stylers": [ { "visibility": "off" } ] },{ "featureType": "transit" } ] }; map = new google.maps.Map(document.getElementById("map"), mapOptions);
var point = new google.maps.LatLng(lat, lng); var newCircle = new google.maps.Circle({ radius: 2000, strokeColor: '#000', strokeOpacity: 80, strokeWeight: 0, fillColor: '#ff5500', fillOpacity: 1, center: point, map: map });
Developer | José Manuel Pérez |
Username | jmperez |
Uploaded | January 12, 2023 |
Rating | 3 |
Size | 2,245 Kb |
Views | 8,096 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Spotify - Now Playing Visualization - With news ticker | 3,765 Kb |
Spotify SVG | 2,319 Kb |
Alerting window popup | 1,358 Kb |
Reproducing Medium loading image effect | 2,240 Kb |
Drawing SVGs - Spotify Logo | 3,059 Kb |
Voice commands - Play a song | 3,320 Kb |
Spotify - Now Playing Visualization | 2,783 Kb |
SVG triangles transitioning to full image | 6,198 Kb |
Flexbox for image layout | 1,498 Kb |
Reproducing Medium loading image effect - WebP version | 2,402 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Css color for svg | Ademilter | 2,392 Kb |
SVG Animation | Pollardld | 3,133 Kb |
C.Rowe Button | Brownerd | 2,473 Kb |
Profile box | Daniesy | 2,766 Kb |
Table Exercise | Fresco | 9,585 Kb |
Pomodoro Clock | Osycon | 3,705 Kb |
BSP Dungeon Generation | Xgundam05 | 5,326 Kb |
Pricing Table | Semenchenko | 6,784 Kb |
Header Line Issue | Charlie-volpe | 1,768 Kb |
Horizontal Navigation with Floats | Gymratpacks | 5,403 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!