Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
hexo-tag-googlemaps
Advanced tools
#hexo-tag-googlemaps
Version: 1.1.1
Compatible with Hexo Version 3
The google maps tag plugin for hexo is designed to be a way to add simple maps to your hexo site. First you need to add your Google Maps JavaScript API Key (get one here) to the main config (_config.yml
):
google_maps_api_key: ThisIsMyOwnGoogleMapsAPIKey
The main tag, called googlemaps
requires an endtag called endgooglemaps
.
The main tag can have up to 5 arguments, with none being required. If a map is created without a center point, it will default to the first marker's center point. If a zoom level is not specified, it will default to 8.
{% googlemaps latitude longitude zoom width height %}
The content area is intended to be a list of markers. Each marker is to be on a separate line, in the order of its z index. Top of the list is z index of 0 and so on)
Each marker can take 4 arguments, and the first three are required. The properties are separated by ,
Title, Latitude, Longitude, Icon
If you're looking for a lot of icons, try this place: github.com/giangoulas/google-maps-icons
##Simple Example
A simple example makes it easy to see how this plugin works.
{% googlemaps -33.9 151.2 10 100% 450px %}
Bondi Beach, -33.890542, 151.274856,http://google-maps-icons.googlecode.com/files/cityhall-tourism.png
Coogee Beach, -33.923036, 151.259052
Cronulla Beach, -34.028249, 151.157507
Manly Beach, -33.80010128657071, 151.28747820854187, http://google-maps-icons.googlecode.com/files/animals.png
Maroubra Beach, -33.950198, 151.259302, http://google-maps-icons.googlecode.com/files/cocktail.png
{% endgooglemaps %}
The following code will produce the following map:
You may also put as many instances of this plugin on your page as you'd like.
FAQs
A hexo tag for inserting google maps
We found that hexo-tag-googlemaps 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.