Usage: test_point_placement.py [-h|--help] [-d] [(-t|--tiles) (GMT|OSM)] """ import os import sys import getopt import traceback from PyQt5.QtGui import QPixmap from PyQt5.QtWidgets import (QApplication, QMainWindow, QWidget, QGridLayout, QVBoxLayout, QHBoxLayout) # initialize the logging system import pySlipQt.log as log log = log.Log('pyslipqt.log') import pySlipQt.pySlipQt as pySlipQt from display_text import DisplayText from layer_control import LayerControl from point_placement import PointPlacementControl ###### # Various demo constants ###### # demo name/version DemoVersion = '1.0' DemoName = 'Test point placement %s (pySlipQt %s)' % (DemoVersion, pySlipQt.__version__)
""" import sys import getopt import traceback from PyQt5.QtGui import QPixmap from PyQt5.QtWidgets import (QApplication, QMainWindow, QWidget, QLabel, QHBoxLayout) from display_text import DisplayText import pySlipQt.pySlipQt as pySlipQt # initialize the logging system import pySlipQt.log as log log = log.Log("pyslipqt.log") ###### # Various constants ###### DemoName = 'PySlipQt %s - Zoom undo test' % pySlipQt.__version__ DemoWidth = 1000 DemoHeight = 800 InitViewLevel = 2 InitViewPosition = (100.494167, 13.7525) # Bangkok ################################################################################ # The main application frame ################################################################################