TEST

Use Google Maps Javascript to import KML files to automatically draw maps


layout: post
title: Using Google Maps Javascript to import KML files to automatically draw
date: 2021-08-24 17:41 +8
description: How to directly use KmlLayer to present the data without reading the data yourself. and possible problems.
toc: false
share: true
comments: true
tags: GoogleMaps Javascript Development

code

possible problem

Line thickness is different from what you see on Google My Maps or Google Earth! How come it's so thick?

You need to manually target each item in the KML file <LineStyle></LineStyle> join in 0.001
0.001 can be changed to the desired value.
Tip: Find and Replace </LineStyle> for 0.001

TEST

Personal to Jekyll's various situations


layout: post
title: Jekyll tips
date: 2021-08-21 17:41 +8
description: Personal status to Jekyll
toc: false
share: true
comments: true
tags: Jekyll Development

compilation problem

ffi-1.11.1-x64-mingw32 requires ruby version < 2.7.dev, >= 2.2, which is incompatible with the current version, ruby 2.7.4p191
I used Ruby 2.5 in 2019, in 2021 I switched to another computer and switched to Ruby 2.7.4, and the original project was executed bundle exec jekyll serve Unable to deploy.

Solution: run bundle update see if you can solve the problem