Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Feat: more markers can be added to mapbox #506

Merged
merged 2 commits into from
Sep 23, 2024
Merged

Conversation

Tim-Saijun
Copy link
Member

{{< mapbox 
    lng=120.13066322374  lat=30.240018034923  zoom=12 marked=true 
    markers="[{\"lng\": 120.13066322374, \"lat\": 30.240018034926, \"description\": \"标记 1\"},{\"lng\": 120.13367222378, \"lat\": 30.245038134925, \"description\": \"标记 2\"},{\"lng\": 120.12866322380,\"lat\": 30.243028134925, \"description\": \"标记 3\"}]" 
    light-style="mapbox://styles/mapbox/streets-zh-v1" >}}

{{< mapbox lng=120.13066322374  lat=30.240018034923  zoom=12 marked=true light-style="mapbox://styles/mapbox/streets-zh-v1" >}}
{{< mapbox 113.953277 22.559102 11 >}}

实现效果
Snipaste_2024-09-23_14-11-55

Copy link

vercel bot commented Sep 23, 2024

@Tim-Saijun is attempting to deploy a commit to the FixIt Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Sep 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fixit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 23, 2024 7:51am

@Lruihao Lruihao added the enhancement New feature or request label Sep 23, 2024
@Lruihao Lruihao added this to the v0.3.x milestone Sep 23, 2024
@Lruihao Lruihao changed the title feat: ✨ More markers can be added to mapbox ✨ Feat: more markers can be added to mapbox Sep 23, 2024
layouts/shortcodes/mapbox.html Outdated Show resolved Hide resolved
@Lruihao Lruihao merged commit 185c680 into hugo-fixit:dev Sep 23, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants