Class

ShumateVectorRenderer

Description [src]

final class Shumate.VectorRenderer : Shumate.MapSource {
  /* No available fields */
}

A ShumateMapSource that renders tiles from a given vector data source.

Ancestors

Implements

  • GInitable

Constructors

shumate_vector_renderer_new

Creates a new ShumateVectorRenderer from the given JSON style.

Instance methods

shumate_vector_renderer_set_sprite_sheet_data

Sets the sprite sheet used by the style JSON to render icons and textures.

Methods inherited from ShumateMapSource (26)
shumate_map_source_fill_tile_async

Asynchronous version of shumate_map_source_fill_tile().

shumate_map_source_fill_tile_finish

Gets the success value of a completed shumate_map_source_fill_tile_async() operation.

shumate_map_source_get_column_count

Gets the number of tiles in a column at this zoom level for this map source.

shumate_map_source_get_id

Gets map source’s id.

shumate_map_source_get_latitude

Gets the latitude corresponding to this y position in the map source’s projection.

shumate_map_source_get_license

Gets map source’s license.

shumate_map_source_get_license_uri

Gets map source’s license URI.

shumate_map_source_get_longitude

Gets the longitude corresponding to this x position in the map source’s projection.

shumate_map_source_get_max_zoom_level

Gets map source’s maximum zoom level.

shumate_map_source_get_meters_per_pixel

Gets meters per pixel at the position on the map using this map source’s projection.

shumate_map_source_get_min_zoom_level

Gets map source’s minimum zoom level.

shumate_map_source_get_name

Gets map source’s name.

shumate_map_source_get_projection

Gets map source’s projection.

shumate_map_source_get_row_count

Gets the number of tiles in a row at this zoom level for this map source.

shumate_map_source_get_tile_size

Gets map source’s tile size.

shumate_map_source_get_tile_size_at_zoom

Gets the apparent size of the map tiles at the given fractional zoom level.

shumate_map_source_get_x

Gets the x position on the map using this map source’s projection. (0, 0) is located at the top left.

shumate_map_source_get_y

Gets the y position on the map using this map source’s projection. (0, 0) is located at the top left.

shumate_map_source_set_id

Sets the map source’s id.

shumate_map_source_set_license

Sets the map source’s license.

shumate_map_source_set_license_uri

Sets the map source’s license URI.

shumate_map_source_set_max_zoom_level

Sets the map source’s maximum zoom level.

shumate_map_source_set_min_zoom_level

Sets the map source’s minimal zoom level.

Properties

Properties inherited from ShumateMapSource (8)
Shumate.MapSource:id

The id of the map source.

Shumate.MapSource:license

The usage license of the map source.

Shumate.MapSource:license-uri

The usage license’s uri for more information.

Shumate.MapSource:max-zoom-level

The maximum zoom level.

Shumate.MapSource:min-zoom-level

The minimum zoom level.

Shumate.MapSource:name

The name of the map source.

Shumate.MapSource:projection

The map projection of the map source.

Shumate.MapSource:tile-size

The tile size of the map source.

Class structure

struct ShumateVectorRendererClass {
  ShumateMapSourceClass parent_class;
  
}
Class members
parent_class
ShumateMapSourceClass
  No description available.

Functions

shumate_vector_renderer_is_supported

Checks whether libshumate was compiled with vector tile support. If it was not, vector renderers cannot be created or used.