hello
how to store the contents from existing
[HTML]<div id="map_canvas">contents</div>[/HTML]
http://a6000000.kilu.de/tmp/gmstore.php
as a image,
maybe in javascript or AJAX_PHP
where can we find a function like imagecreatefromdiv() ?
// http://www.php.net/manual/en/functio...fromstring.php
thanks , andreas.
----------------------
// de:
imagecreatefromdiv=Wie getElementById() <div id="map_canvas"..> in image.jpg speichern
hallo
wie speicher ich den inhalt eines <div id="map_canvas" .. /div> ein image.jpg,
In:
http://a6000000.kilu.de/tmp/gmstore.php
[HTML]<div id="map_canvas"
style="border: 1px solid #557797; background-color: #e5e3df;
margin-top:0px; margin-left:3px;
width:272px; height: 319px; ">
[/HTML]
lasse ich mit javascript
var map = new GMap2(document.getElementById("map_canvas"));
eine GoogleMaps anzeigen. Den Inhalt des <div id="map_canvas" .. /div>
moechte ich in eine Datei , in ein image.jpg , speichern, dass koennte ich
function imagecreatefromdiv() nennen , als cache sozusagen , damit nicht mehrmals das gleiche geladen wird.
// http://www.php.net/manual/en/functio...fromstring.php
danke
Andreas