Registered by Àngel Àlvarez http://www.nan-tic.com

Proxy Library to execute Javascript Code using webkit from Python.

No Javascript code Needed.

Example:

class AbstractMap( JSClass ):
    def __init__( self, name, engine=None ):
        JSClass.__init__( self, engine , self.__class__.__name__ )
        self.map = None
        self.points = {}

     def showPoints( self, points ):
        for point in points:
            self.addPoint( point )

     def getCenter( self ,points=None):
        """ Justify ( Zoom ) map to view all markers """
        if points==None:
            points = self.points
        (maxlat,minlat,maxlng,minlng )= self.getBound( points )
        return ( (minlat + (maxlat-minlat)/2.0),minlng + ( maxlng-minlng)/2 )

Project information

Maintainer:
NaN
Driver:
Not yet selected
Licence:
GNU GPL v3

RDF metadata

View full history Series and milestones

trunk series is the current focus of development.

All code Code

Version control system:
Bazaar

Get Involved

  • warning
    Report a bug
  • warning
    Ask a question
  • warning
    Help translate

Downloads

Javascript-Python-Proxy does not have any download files registered with Launchpad.