Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Using Sprites for Placemark icons
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Patrick Tucker  
View profile  
 More options Nov 5 2012, 4:35 pm
From: Patrick Tucker
Date: Mon, 5 Nov 2012 13:35:37 -0800 (PST)
Local: Mon, Nov 5 2012 4:35 pm
Subject: Re: Using Sprites for Placemark icons

If you look at issue 493, linked above, the response says that you can use
KmlIcon to accomplish what you are trying to do.

On Friday, November 2, 2012 5:50:17 PM UTC-4, StarTraX wrote:
> I know this is a pretty old thread, but It's exactly the topic I'm
> struggling with right now. google.maps.MarhkerImage  does it so elegantly
> with MarkerImage.
> Did you have any success in using a sprite map to generate icons in
> geplugin?

> On Saturday, July 10, 2010 12:37:19 AM UTC+10, Earth API Guru wrote:

>> Hi,

>> That is it exactly, use the maps api and add the sprites exactly as
>> you would ala-maps. The markers should show as place-marks just as you
>> want when in earth view. If I get some time I might have a play with
>> this myself as I would be interested to see if it works too.

>> F.

>> On Jul 9, 6:49 am, Nymor wrote:
>> > Hi Fraser,

>> > To be honest I'm not sure - I'm new to Maps myself.

>> > Creating an icon in Maps using the sprite technique looks something
>> > like:-

>> > var iconImage = new google.maps.MarkerImage(
>> >                     "mySpriteSheet.png", // icon sprite sheet
>> >                     new google.maps.Size(32, 32), // Icon size
>> >                     new google.maps.Point(32, 64), // Origin -
>> > position in sprite sheet
>> >                     new google.maps.Point(16, 16) // Anchor point
>> >                 );

>> > It seems very "maps" orientated. However I understand, I think, what
>> > you mean - for example if a Marker was created in Maps and then the
>> > view was changed to Earth would the Marker show in the Earth view or
>> > would you have to recreate it with the Earth API? While I am coding
>> > for both Earth and Maps in my app I'm doing them separately (you
>> > either have Earth installed or it drops back to a Maps version) so I
>> > don't switch to Earth from within Maps and therefore don't know what
>> > carries over automatically between the views.

>> > Thanks for the suggestion though - if anyone who may have done this
>> > could comment I'm all ears.

>> > Regards
>> > Nymor

>> > On Jul 9, 2:05 am, fraser (Earth API Guru) wrote:

>> > > Hi Nymor,

>> > > I don't know a great deal about the maps api so shoot me down if this
>> > > is totally off the mark.
>> > > Could you not implement the functionality of the sprites in the maps
>> > > api into the earth api?
>> > > I am thinking along the lines of how the maps-to-earth functionality
>> > > is supported when geocoding for example.

>> > > Anyhow, just a thought....

>> > > F.

>> > > On Jul 8, 11:50 pm, Nymor wrote:

>> > > > Hi,

>> > > > I'll take that as a no so new feature request filed athttp://
>> code.google.com/p/earth-api-samples/issues/detail?id=493  

>> > > > Nymor

>> > > > On Jun 23, 8:06 am, Nymor wrote:

>> > > > > Hi,

>> > > > > (I suspect the answer to this is no(?) but thought I'd
>> double-check.)

>> > > > > Is it possible to base icons on image sprites for Placemarks  as
>> is
>> > > > > possible for Marker icons in the Maps API?. I appreciate that KML
>> > > > > can't do it but was wondering if it's possible when creating
>> > > > > Placemarks from scratch in javascript.

>> > > > > I have situations where I load alot of different icons (~100) and
>> > > > > that's alot of individual network round trips and when doing the
>> same
>> > > > > in Maps I can just load one sprite image for the lot.

>> > > > > If not I feel a feature request coming on...

>> > > > > Thanks
>> > > > > Nymor


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.