mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2024-11-15 15:55:56 +01:00
701406f0e8
Added the SchemeRegistrationBrowser_subprocess demo for Lazarus in Windows Added a Google Maps example in the test.html file used by all the SchemeRegistrationBrowser demos. Removed obsolete Flash file.
33 lines
982 B
HTML
33 lines
982 B
HTML
<!DOCTYPE html>
|
|
<html><head><script type="text/javascript" src="/test.js" charset="utf-8"></script></head>
|
|
<body>
|
|
|
|
<p>
|
|
<img src='emoji.png'><br>Local image</p>
|
|
|
|
<p>
|
|
<img src='dontexist.png'><br>Non existing local image</p>
|
|
|
|
<p><img src='http://www.briskbard.com/images/logo2.png'><br>Remote image</p>
|
|
|
|
<p><button onclick="myAlertFunction()">Show Alert box</button></p>
|
|
<p><button onclick="sendCustomReq()">Send request</button></p>
|
|
<p><img src='jupiter.png'><br>Bigger image</p>
|
|
|
|
<p>This is the Google Maps example.</br>Edit this HTML file to insert your Google Maps API key.</p>
|
|
|
|
<div id="googleMap" style="width:800px;height:400px;"></div>
|
|
|
|
<script>
|
|
function myMap() {
|
|
var mapProp= {
|
|
center:new google.maps.LatLng(41.656264,-0.8790698),
|
|
zoom:15,
|
|
};
|
|
var map = new google.maps.Map(document.getElementById("googleMap"),mapProp);
|
|
}
|
|
</script>
|
|
|
|
<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_GOOGLE_MAPS_API_KEY&callback=myMap"></script>
|
|
|
|
</body>
|
|
</html>
|