maptalks / maptalks/maptalks.js

Set Up Zero-point Perspective

Open
#1,647 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
4.5k
Forks
511
Avg merge
3d 58m
Merged PRs (30d)
1

Description

**maptalks's version and what browser you use?**
----
My Version:
* maptalks v0.49.5
* LICENSE : BSD-3-Clause
* (c) 2016-2021 maptalks.org

**Issue description**
----
The client need to set up "Zero-point perspective", but we find not setting upon perspective in Maptalks.

We develop the geojson 2D map which is good everything but the parallel lines is vanishing in a far point.

![image](https://user-images.githubusercontent.com/7088330/160224864-5757d243-1f50-429e-90e3-dc5bedc8e2e0.png)

It did not meet the 0 perspective requirements from them. An example they quoted is like SimCity game:

![image](https://user-images.githubusercontent.com/7088330/160224898-af618e9f-6b1d-4c08-a4aa-8b616773fc91.png)

**Is there any way that we can workaround the zero perspective in Maptalks**

**Please provide a reproduction URL (on any jsfiddle like site)**
----
reference: https://www.artistsnetwork.com/art-techniques/perspective/zero-point-perspective-ever-hear-of-it/

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported perspective behavior with maptalks v0.49.5 and the provided images and reference. The issue names no source file, test, or implementation entry point; done would require a clearly defined zero-point perspective behavior and a confirmed workaround or supported setting.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.