Billy Poon
Billy Poon
刚看了一下高德的文档,似乎只有1.4版API才支持3D显示,之前测试过扩展库与1.4版不兼容,最近没有这方面的新项目,所以当时没留意是什么情况。最近有点忙,拜托你先往版本兼容这方面看看了~
AMap是来自高德地图的JS SDK,参考:https://lbs.amap.com/api/javascript-api/summary/
echarts option中amap选项只用于初始化地图控件,后续对地图的操作需要参考高德地图的AMap实例的相关API来实现。这也是为什么要暴露AMap实例的原因。
I made [another](https://github.com/typeorm/typeorm/issues/541#issuecomment-2014291439) hack to solve this, ugly but works. ``` import { BaseEntity, DataSource, EntityManager, IsNull, PrimaryGeneratedColumn, Repository } from 'typeorm' type Fn = (...args: any) => any function...
According to [`DataSource.buildMetadatas()`](https://github.com/typeorm/typeorm/blob/83567f533482d0170c35e2f99e627962b8f99a08/src/data-source/DataSource.ts#L738) ``` protected async buildMetadatas(): Promise { ... // set current data source to the entities for (let entityMetadata of entityMetadatas) { if ( InstanceChecker.isBaseEntityConstructor(entityMetadata.target) ) { entityMetadata.target.useDataSource(this)...
Thanks for your affirmation, but I'm not familiar with Swagger. If you could provide a sample project, I'd be more than happy to take a look and see if I...