- If there's no marker, the JS code runs into an exception - the demo uses a tile provider that's gone offline - the JS code implements several if statements that can be moved to Java