Hi -
Are you thinking like "Java class"?
The Google Maps API you referred to is a Javascript API (not Java). It has "constructors" ... but they're very different from what you might be familiar with coming from a language like Java or C++.
SUGGESTION:
Play with some sample code. Here's what seems to be a good tutorial:
http://econym.org.uk/gmap/
From the tutorial:
Quote:
http://econym.org.uk/gmap/
Using the Google Map API is not easy if you don't have much Javascript experience.
If you find the Google documentation too difficult to understand, it's not because it's badly written it's just that the subject is not easy.
|
Here is another (albeit somewhat dated) tutorial:
http://www.developer.com/java/web/ar.../10935_3528381