fixed errors removing tiles with coordinate and calculating position for non-isometric tiles

fixed errors removing tiles with coordinate and calculating position for non-isometric tiles
With the HEAD of the JSTileMap, removing a tile using removeTileAtCoord removes the tile in the layer *below* the correct layer (that's what appears to happen on the screen, anyway). *Why* that happens, I don't know. But it's a showstopper bug for me, so if you can find a better solution, I'll take it!

Thanks!

Sent from my iPhone

> On Sep 27, 2014, at 1:19 PM, Jeremy Stone <notifications@github.com> wrote:
> 
> In TMXMapSample/JSTileMap.m:
> 
> > @@ -189,8 +189,8 @@ +(id) layerWithTilesetInfo:(NSArray*)tilesets layerInfo:(TMXLayerInfo*)layerInfo
> >  				}
> >  				else
> >  				{
> > -					sprite.position = CGPointMake(col * layer.mapTileSize.width + tilesetInfo.tileSize.width/2.0,
> > -																				(mapInfo.mapSize.height * (layer.mapTileSize.height)) - ((row + 1) * layer.mapTileSize.height) + tilesetInfo.tileSize.height/2.0);
> > +					sprite.position = CGPointMake(col * layer.mapTileSize.width + layer.mapTileSize.width/2.0,
> > +																				(mapInfo.mapSize.height * (layer.mapTileSize.height)) - ((row + 1) * layer.mapTileSize.height) + layer.mapTileSize.height/2.0);
> Hey, finally got around to looking at this. Curious what the reason for changing from the tileset size to the layer size fixes. I recently changed this to fix another issue by using the tileset tile size. (#8)
> 
> —
> Reply to this email directly or view it on GitHub.