Skip to content

Map does not render unless pitch is set and map is "tilted" #2270

@lsimkins

Description

@lsimkins

Mapbox does not render tiles unless map pitch is > 0 on certain Windows 7 systems. This may be related to #930 but in 930 the map was rendering. In this case, the map does not render anything at all until a pitch is set.

In the screenshots below, the rendering visible on the map is custom GL we've written and render on a separate canvas external to mapbox.

The same behavior also occurs across all mapbox-gl examples at https://www.mapbox.com/mapbox-gl-js/examples/

Map with no pitch set.
blankmap

Map with pitch set to 60.
maptilted

System Specs Screenshot (Processor)
systemspecs1

System Specs Screenshot (Graphics Card)
systemspecs2

mapbox-gl-js version: 0.15.0

Steps to Trigger Behavior

  1. Test any current mapbox example. All examples are blank.
  2. map.setPitch(45)
  3. Tiles render correctly.
  4. map.setPitch(0)
  5. Map no longer renders.

Expected Behavior

Map renders normally.

Actual Behavior

Map does not render unless tilted/pitched.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions