Skip to content

Instantly share code, notes, and snippets.

View igoriuz's full-sized avatar

Igor Kazhdan igoriuz

  • neusta mobile solutions
  • Bremen, Germany
  • 21:20 (UTC +02:00)
  • X @igoriuz
View GitHub Profile
@james-d
james-d / PanningTiledPane.java
Last active July 16, 2018 23:36
Example of (essentially) infinite panning in JavaFX using a fixed set of ImageViews and updating their images on panning. Prototype for Google Maps type of interface.
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import javafx.beans.property.DoubleProperty;
import javafx.beans.property.DoublePropertyBase;
import javafx.beans.property.ReadOnlyIntegerWrapper;
import javafx.geometry.Pos;