def lookat(self):
        """Camera relative to the feature, accepts :class:`simplekml.LookAt`

        *New in version 1.1.1*
        """
        if self._kml['LookAt'] is None:
            self._kml['LookAt'] = LookAt()
            self._kml['Camera'] = None
        return self._kml['LookAt']
Ejemplo n.º 2
0
 def lookat(self):
     """Camera relative to the feature, accepts :class:`simplekml.LookAt`"""
     if self._abstractview is None or type(self._abstractview) == Camera:
         self._abstractview = LookAt()
     return self._abstractview