0
я должен переменных хх = 38,929787 уу = 22,675781Pass переменной от Python к JavaScript
как я могу передать их от питона до GLatLng (лат, длинный) внутри Java-ап имеют лат = хх и длиной = уу
def pymapjs(self):
""" Returns complete javacript for rendering map """
self.js = """\n<script src=\"http://maps.google.com/maps?file=api&v=2&key=%s\" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function load() {
if (GBrowserIsCompatible()) {
function Point(lat,long,html,icon) {
this.gpoint = new GMarker(new GLatLng(lat,long),icon);
this.html = html;
}