Code Monkey home page Code Monkey logo

time-travellers-map's Introduction

time-travellers-map's People

Contributors

joshun avatar

Watchers

 avatar  avatar

time-travellers-map's Issues

Name and description for annotations

  • Name and description fields should also be provided for annotations so that their purpose is apparent
  • Name and description could be shown upon map hover

Option to change base map in GUI

  • Add option to change the basemap image (currently it is hardcoded)
  • Could add pane for several base map images which are valid for specific date ranges

Improving the graphics annotation system

Currently, only very simple shapes can be drawn on the map - squares and circles. It would be better if a wide variety could be drawn. Perhaps a vector graphics library could be used for this. It would also be nice if the annotation system allowed drawing the shapes directly on the map, rather than having to open dialogs and input coordinates.

TTM does not work properly with Java >= 9

Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: org.geotools.styling.StyleFactory is not an ImageIO SPI class
at java.desktop/javax.imageio.spi.ServiceRegistry.checkClassAllowed(ServiceRegistry.java:745)
at java.desktop/javax.imageio.spi.ServiceRegistry.(ServiceRegistry.java:140)
at org.geotools.factory.FactoryRegistry.(FactoryRegistry.java:155)
at org.geotools.factory.FactoryCreator.(FactoryCreator.java:91)
at org.geotools.factory.CommonFactoryFinder.getServiceRegistry(CommonFactoryFinder.java:76)
at org.geotools.factory.CommonFactoryFinder.getFileDataStoreFactories(CommonFactoryFinder.java:202)
at org.geotools.data.FileDataStoreFinder.getAvailableDataStores(FileDataStoreFinder.java:166)
at org.geotools.data.FileDataStoreFinder.getDataStore(FileDataStoreFinder.java:86)
at org.geotools.data.FileDataStoreFinder.getDataStore(FileDataStoreFinder.java:69)
at org.timetravellersmap.basemapio.ShapefileLoader.loadBasemap(ShapefileLoader.java:29)
at org.timetravellersmap.gui.MapFrame.loadBasemapFile(MapFrame.java:643)
at org.timetravellersmap.gui.MapFrame.timelineChanged(MapFrame.java:621)
at org.timetravellersmap.gui.MapFrame.initComponents(MapFrame.java:477)
at org.timetravellersmap.gui.MapFrame.doShowMap(MapFrame.java:220)
at org.timetravellersmap.gui.MapFrame.showMap(MapFrame.java:190)
at org.timetravellersmap.gui.WelcomeDialog.lambda$new$1(WelcomeDialog.java:143)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:269)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6578)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3343)
at java.desktop/java.awt.Component.processEvent(Component.java:6343)
at java.desktop/java.awt.Container.processEvent(Container.java:2259)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4961)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2317)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4793)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4539)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4480)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2303)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2758)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4793)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:766)
at java.desktop/java.awt.EventQueue.access$500(EventQueue.java:97)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:717)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:711)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:89)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:99)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:739)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:737)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:89)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:736)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:199)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

Bundle map resources with file

Currently, ttm files are just JSON of all the event and annotation data, and just have an absolute reference to the map resource files. At the very least it would be good if the reference was relative (e.g. same folder) but even better if the map resource could be embedded somehow

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.