- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHPPhysics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Effects and animations with Google Maps markers in HTML5
There is no way to fade markers through API.
However, markers can be simulated by creating Custom Overlay.
Custom overlay usually contains a div with the help of which opacity can be controlled by javascript or jquery.
In order to create effects or animations over Google Maps markers, we need a custom overlay.
The marker can be added to map and it surely makes optimized: false option
var newmarkerimg= $('#map_canvas img[src*="iconmarker "][class!="imageadjust "]');Advertisements