![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
angular2-baidu-map
Advanced tools
[![NPM version][npm-image]][npm-url] ![][david-url] ![][dt-url] ![][license-url]
Baidu-Map module for Angular8
Read full documentation here: documentation
Read code example here: example
Be aware that it is a totally rewrite version, therefore, backward compatibility is not considered
3.x
, read it here4.x
, read it herenpm install angular2-baidu-map
app.module.ts
import { BrowserModule } from '@angular/platform-browser'
import { NgModule } from '@angular/core'
import { AppComponent } from './app.component'
import { BaiduMapModule } from 'angular2-baidu-map'
@NgModule({
declarations: [AppComponent],
imports: [BrowserModule, BaiduMapModule.forRoot({ ak: 'your ak' })],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule {}
app.component.ts
import { Component } from '@angular/core'
import { MapOptions } from 'angular2-baidu-map'
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: []
})
export class AppComponent {
options: MapOptions
constructor() {
this.options = {
centerAndZoom: {
lat: 39.920116,
lng: 116.403703,
zoom: 16
},
enableKeyboard: true
}
}
}
app.component.html
<baidu-map [options]="options" style="display: block; width: 550px; height: 350px;"></baidu-map>
For more information, see documentation
FAQs
[![NPM version][npm-image]][npm-url] ![][david-url] ![][dt-url] ![][license-url]
The npm package angular2-baidu-map receives a total of 85 weekly downloads. As such, angular2-baidu-map popularity was classified as not popular.
We found that angular2-baidu-map demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.