动态轨迹Overlay
根据网上一些代码整理和修改,得出以下的动态轨迹Overlay,其中结构体的Scale代表了颜色的百分比,1为最大值,0为最小值
CrumbPathOverlay.h
1 |
|
CrumbPathOverlay.m
1 |
|
动态轨迹Render
CrumbPathRender.h
1 |
|
CrumbPathRender.m
1 | #import "CrumbPathRender.h" |
根据网上一些代码整理和修改,得出以下的动态轨迹Overlay,其中结构体的Scale代表了颜色的百分比,1为最大值,0为最小值
1 |
|
1 |
|
1 |
|
1 | #import "CrumbPathRender.h" |
tag:
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: false
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true