
Security News
The Next Open Source Security Race: Triage at Machine Speed
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.
ember-cli-google-maps
Advanced tools
A simple Ember add-on from Google Maps API
ember install ember-cli-google-maps
Before you can use this add-on, you must first configure our API key. Add
your Google Maps API key to config/environment.js.
let ENV = {
// ...
'ember-cli-google': {
maps: {
apiKey: 'ADD API KEY HERE'
}
}
};
Use the {{g-map}} component to insert a map onto the page.
{{g-map center=(hash lat=lat lng=lng)}}
The {{g-map}} component must have a center property, or the Google Maps component
will not work. The {{g-map}} component has a corresponding attribute for each
google.maps.MapOptions
property.
The
{{g-map}}component has the.g-mapclass name, which can be used to style it (e.g., setting its height and width).
Map entities are added as a child component of the corresponding {{g-map}} block component.
All map entities have a show attribute, which can be use to show/hide the entity.
The {{g-marker}} component is used to add a marker to a map. Just added the {{g-marker}} as
a child of the {{g-map}} block component. Use the position attribute to set the marker's
location.
{{#g-map center=(hash lat=mapLat lng=mapLng)}}
{{g-marker position=(hash lat=markerLat lng=markerLng)}}
{{/g-map}}
Map layers are added as a child component of the corresponding {{g-map}} block component.
All map layers have a show attribute, which can be use to show/hide the layer.
The {{g-heatmap-layer}} is used to add a heatmap layer to the corresponding map. The data
attribute, which is an array of {lat, lng [, weight]}, adds data to the heatmap.
{{#g-map center=(hash lat=mapLat lng=mapLng)}}
{{g-heatmap-layer data=heatmapData}}
{{/g-map}}
Unlike with the Google Maps API, you can have a single array where some of the data points
have a weight and some of the data points do not have a weight. The {{g-heatmap-layer}}
component is intelligent enough to discern between the two cases, and populate the map accordingly.
FAQs
The default blueprint for ember-cli addons.
The npm package ember-cli-google-maps receives a total of 3 weekly downloads. As such, ember-cli-google-maps popularity was classified as not popular.
We found that ember-cli-google-maps 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
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.

Security News
gem.coop is testing registry-level dependency cooldowns to limit exposure during the brief window when malicious gems are most likely to spread.